X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples%2Fminimalistic-stub-once.hxx;h=f82f95e403ef2255885e75e5745e37a295625f3d;hp=1c2ffcbff1fb8b60abff03463aac3ec7fa04f69e;hb=c20a976f346150c63cb93580eccac06b0058a7a0;hpb=78fcd6a7d9af6908cbc9692862dfa0339c2cb368 diff --git a/examples/minimalistic-stub-once.hxx b/examples/minimalistic-stub-once.hxx index 1c2ffcb..f82f95e 100644 --- a/examples/minimalistic-stub-once.hxx +++ b/examples/minimalistic-stub-once.hxx @@ -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::type::get_derived_extended_type_info(*t); + = boost::serialization::type_info_implementation::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);