Index: traits.hpp =================================================================== --- traits.hpp (revision 45790) +++ traits.hpp (working copy) @@ -74,10 +74,6 @@ #endif // #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES //----------------------// -#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) -# pragma warning(pop) -#endif - template struct is_std_io : mpl::or_< is_istream, is_ostream, is_streambuf > @@ -369,6 +365,10 @@ typedef typename traits_type::pos_type pos_type; \ /**/ +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +# pragma warning(pop) +#endif + } } // End namespaces iostreams, boost. #endif // #ifndef BOOST_IOSTREAMS_IO_TRAITS_HPP_INCLUDED