diff --git a/include/boost/archive/detail/iserializer.hpp b/include/boost/archive/detail/iserializer.hpp index 8abc2f99..62355d57 100644 --- a/include/boost/archive/detail/iserializer.hpp +++ b/include/boost/archive/detail/iserializer.hpp @@ -102,11 +102,11 @@ template class iserializer : public basic_iserializer { private: - static void BOOST_FORCE_INCLUDE static_load_object_data( + static void BOOST_FORCE_INCLUDE(static_load_object_data( basic_iarchive & ar, void *x, const unsigned int file_version - ){ + )){ // make sure call is routed through the higest interface that might // be specialized by the user. boost::serialization::serialize_adl( @@ -167,11 +167,11 @@ template class pointer_iserializer : public archive_pointer_iserializer { private: - static void BOOST_FORCE_INCLUDE static_load_object_ptr( + static void BOOST_FORCE_INCLUDE(static_load_object_ptr( basic_iarchive & ar, void * & x, const unsigned int file_version - ){ + )){ boost::serialization::load_ptr_adl( boost::smart_cast_reference(ar), reinterpret_cast(x), diff --git a/include/boost/archive/detail/oserializer.hpp b/include/boost/archive/detail/oserializer.hpp index 60c53d39..c81d281f 100644 --- a/include/boost/archive/detail/oserializer.hpp +++ b/include/boost/archive/detail/oserializer.hpp @@ -104,11 +104,11 @@ template class oserializer : public basic_oserializer { private: - static void BOOST_FORCE_INCLUDE static_save_object_data( + static void BOOST_FORCE_INCLUDE(static_save_object_data( basic_oarchive & ar, const void *x, unsigned int version - ) { + )){ // make sure call is routed through the highest interface that might // be specialized by the user. boost::serialization::serialize_adl( @@ -162,10 +162,10 @@ template class pointer_oserializer : public archive_pointer_oserializer { private: - static void BOOST_FORCE_INCLUDE static_save_object_ptr( + static void BOOST_FORCE_INCLUDE(static_save_object_ptr( basic_oarchive & ar, const void * x - ){ + )){ assert(NULL != x); // make sure call is routed through the highest interface that might // be specialized by the user.