summaryrefslogtreecommitdiff
path: root/boost/iostreams/detail/streambuf/direct_streambuf.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/iostreams/detail/streambuf/direct_streambuf.hpp')
-rw-r--r--boost/iostreams/detail/streambuf/direct_streambuf.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/boost/iostreams/detail/streambuf/direct_streambuf.hpp b/boost/iostreams/detail/streambuf/direct_streambuf.hpp
index 46e5444b28..69efe2b128 100644
--- a/boost/iostreams/detail/streambuf/direct_streambuf.hpp
+++ b/boost/iostreams/detail/streambuf/direct_streambuf.hpp
@@ -8,7 +8,7 @@
#ifndef BOOST_IOSTREAMS_DETAIL_DIRECT_STREAMBUF_HPP_INCLUDED
#define BOOST_IOSTREAMS_DETAIL_DIRECT_STREAMBUF_HPP_INCLUDED
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#if defined(_MSC_VER)
# pragma once
#endif
@@ -67,9 +67,7 @@ public: // stream needs access.
// Declared in linked_streambuf.
T* component() { return storage_.get(); }
protected:
-#if !BOOST_WORKAROUND(__GNUC__, == 2)
BOOST_IOSTREAMS_USING_PROTECTED_STREAMBUF_MEMBERS(base_type)
-#endif
direct_streambuf();
//--------------Virtual functions-----------------------------------------//