Fix for newer boost versions (tested 1.37.0 and 1.38.0)
[libt2n] / examples / minimalistic-stub-once.hxx
index 1c2ffcb..f82f95e 100644 (file)
@@ -11,7 +11,7 @@ void
 extended_type_info_test() {
   cmd_group_example* t=new testfunc_cmd();
   const boost::serialization::extended_type_info * true_type
-    = boost::serialization::type_info_implementation<libt2n::command>::type::get_derived_extended_type_info(*t);
+    = boost::serialization::type_info_implementation<libt2n::command>::type::get_const_instance().get_derived_extended_type_info(*t);
   // note:if this exception is thrown, be sure that derived pointer
   // is either regsitered or exported.
   assert(NULL != true_type);