From 2ec2d33205d093eea0717da8b6a84718a3eefabe Mon Sep 17 00:00:00 2001 From: Jonathan Turkanis Date: Mon, 11 Apr 2005 15:36:21 +0000 Subject: [PATCH] removed VC6 workaround [SVN r28129] --- include/boost/iostreams/device/mapped_file.hpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/include/boost/iostreams/device/mapped_file.hpp b/include/boost/iostreams/device/mapped_file.hpp index 12eb1bb..b528f14 100755 --- a/include/boost/iostreams/device/mapped_file.hpp +++ b/include/boost/iostreams/device/mapped_file.hpp @@ -198,39 +198,25 @@ struct mapped_file_sink : private mapped_file { namespace detail { -// Local macros, undef'd below. -//#if BOOST_WORKAROUND(BOOST_MSVC, < 1300) -//# define BOOST_BEGIN_IMPL template struct inner { -//# define BOOST_END_IMPL }; -//#else -# define BOOST_BEGIN_IMPL -# define BOOST_END_IMPL -//#endif - template<> struct direct_impl { - BOOST_BEGIN_IMPL static std::pair input_sequence(boost::iostreams::mapped_file_source& src) { return std::make_pair( const_cast(src.begin()), const_cast(src.end()) ); } - BOOST_END_IMPL }; template<> struct direct_impl { - BOOST_BEGIN_IMPL static std::pair output_sequence(boost::iostreams::mapped_file_sink& sink) { return std::make_pair(sink.begin(), sink.end()); } - BOOST_END_IMPL }; template<> struct direct_impl { - BOOST_BEGIN_IMPL static std::pair input_sequence(boost::iostreams::mapped_file& file) { return std::make_pair(file.begin(), file.end()); } @@ -238,12 +224,8 @@ struct direct_impl { static std::pair output_sequence(boost::iostreams::mapped_file& file) { return std::make_pair(file.begin(), file.end()); } - BOOST_END_IMPL }; -#undef BOOST_BEGIN_IMPL -#undef BOOST_END_IMPL - } // End namespace detail. } } // End namespaces iostreams, boost.