Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48846 - trunk/boost/test/utils/runtime/cla/iface
From: gennadiy.rozental_at_[hidden]
Date: 2008-09-18 00:59:15


Author: rogeeff
Date: 2008-09-18 00:59:15 EDT (Thu, 18 Sep 2008)
New Revision: 48846
URL: http://svn.boost.org/trac/boost/changeset/48846

Log:
avoids gcc warnings
Text files modified:
   trunk/boost/test/utils/runtime/cla/iface/argument_factory.hpp | 2 ++
   trunk/boost/test/utils/runtime/cla/iface/id_policy.hpp | 1 +
   2 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/boost/test/utils/runtime/cla/iface/argument_factory.hpp
==============================================================================
--- trunk/boost/test/utils/runtime/cla/iface/argument_factory.hpp (original)
+++ trunk/boost/test/utils/runtime/cla/iface/argument_factory.hpp 2008-09-18 00:59:15 EDT (Thu, 18 Sep 2008)
@@ -38,6 +38,8 @@
     virtual argument_ptr produce_using( parameter& p, argv_traverser& tr ) = 0; /// produce argument based on input
     virtual argument_ptr produce_using( parameter& p, parser const& ) = 0; /// produce argument based on internal generator and/or values of other parameters
     virtual void argument_usage_info( format_stream& fs ) = 0; /// argument value format information
+protected:
+ BOOST_TEST_PROTECTED_VIRTUAL ~argument_factory() {}
 };
 
 } // namespace boost

Modified: trunk/boost/test/utils/runtime/cla/iface/id_policy.hpp
==============================================================================
--- trunk/boost/test/utils/runtime/cla/iface/id_policy.hpp (original)
+++ trunk/boost/test/utils/runtime/cla/iface/id_policy.hpp 2008-09-18 00:59:15 EDT (Thu, 18 Sep 2008)
@@ -52,6 +52,7 @@
     explicit identification_policy( rtti::id_t const& dyn_type )
     : p_type_id( dyn_type )
     {}
+ BOOST_TEST_PROTECTED_VIRTUAL ~identification_policy() {}
 };
 
 } // namespace cla


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