|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55412 - trunk/libs/serialization/test
From: ramey_at_[hidden]
Date: 2009-08-04 17:51:05
Author: ramey
Date: 2009-08-04 17:51:05 EDT (Tue, 04 Aug 2009)
New Revision: 55412
URL: http://svn.boost.org/trac/boost/changeset/55412
Log:
Fix test so that it doesn't emit warning
Text files modified:
trunk/libs/serialization/test/test_derived.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/libs/serialization/test/test_derived.cpp
==============================================================================
--- trunk/libs/serialization/test/test_derived.cpp (original)
+++ trunk/libs/serialization/test/test_derived.cpp 2009-08-04 17:51:05 EDT (Tue, 04 Aug 2009)
@@ -31,6 +31,8 @@
template<class Archive>
void serialize(Archive & /* ar */, const unsigned int /* file_version */){
}
+protected:
+ virtual ~base(){};
};
class derived1 : public base
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk