From ef439017ca62e6bbe43a179489eadd05e7ebd9db Mon Sep 17 00:00:00 2001 From: Alexander Nasonov Date: Sat, 28 Oct 2006 10:22:30 +0000 Subject: [PATCH] Fixed: std::basic_streambuf > is an inaccessible base of boost::detail::lexical_streambuf [SVN r35759] --- include/boost/lexical_cast.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/lexical_cast.hpp b/include/boost/lexical_cast.hpp index 7008dc0..b376363 100644 --- a/include/boost/lexical_cast.hpp +++ b/include/boost/lexical_cast.hpp @@ -403,7 +403,7 @@ namespace boost namespace detail // lexical_streambuf and lexical_streambuf_fake { template - class lexical_streambuf : protected std::basic_streambuf + class lexical_streambuf : public std::basic_streambuf { }; @@ -589,7 +589,7 @@ namespace boost template< class CharT // a result of widest_char transformation , class Base // lexical_streambuf or lexical_streambuf_fake > - class lexical_stream_limited_src : protected Base + class lexical_stream_limited_src : public Base { // A string representation of Source is written to [start, finish). // Currently, it is assumed that [start, finish) is big enough