diff --git a/include/boost/serialization/detail/get_data.hpp b/include/boost/serialization/detail/get_data.hpp index 0e9c1902..3cbcb4a3 100644 --- a/include/boost/serialization/detail/get_data.hpp +++ b/include/boost/serialization/detail/get_data.hpp @@ -19,11 +19,12 @@ #define STD std #endif - #include #include -namespace boost { namespace serialization { namespace detail { +namespace boost { +namespace serialization { +namespace detail { template T* get_data(STD::vector& v) @@ -37,7 +38,6 @@ T* get_data(STD::vector const & v) return get_data(const_cast&>(v)); } - template T* get_data(STD::valarray& v) { @@ -50,6 +50,12 @@ const T* get_data(STD::valarray const& v) return get_data(const_cast&>(v)); } -} } } //namespace boost::serialization::detail +} // detail +} // serialization +} // boost + +#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION) +#undef STD +#endif #endif // BOOST_SERIALIZATION_DETAIL_GET_DATA_HPP