summaryrefslogtreecommitdiff
path: root/boost/iostreams/detail/streambuf/linked_streambuf.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/iostreams/detail/streambuf/linked_streambuf.hpp')
-rw-r--r--boost/iostreams/detail/streambuf/linked_streambuf.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/iostreams/detail/streambuf/linked_streambuf.hpp b/boost/iostreams/detail/streambuf/linked_streambuf.hpp
index 9999ded62f..708c2c42ab 100644
--- a/boost/iostreams/detail/streambuf/linked_streambuf.hpp
+++ b/boost/iostreams/detail/streambuf/linked_streambuf.hpp
@@ -12,8 +12,8 @@
# pragma once
#endif
-#include <typeinfo>
#include <boost/config.hpp> // member template friends.
+#include <boost/core/typeinfo.hpp>
#include <boost/iostreams/detail/char_traits.hpp>
#include <boost/iostreams/detail/ios.hpp> // openmode.
#include <boost/iostreams/detail/streambuf.hpp>
@@ -91,7 +91,7 @@ protected:
virtual bool auto_close() const = 0;
virtual void set_auto_close(bool) = 0;
virtual bool strict_sync() = 0;
- virtual const std::type_info& component_type() const = 0;
+ virtual const boost::core::typeinfo& component_type() const = 0;
virtual void* component_impl() = 0;
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
private: