From a7436ebacb83c027bc8dc86ac7b2913998fe3f9d Mon Sep 17 00:00:00 2001 From: Alexander Nasonov Date: Mon, 28 Aug 2006 17:00:44 +0000 Subject: [PATCH] setbuf renamed to lcast_setbuf to get rid of virtual function override warning [SVN r34984] --- 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 5ea43c0..e8ac499 100644 --- a/include/boost/lexical_cast.hpp +++ b/include/boost/lexical_cast.hpp @@ -335,7 +335,7 @@ namespace boost class lexical_streambuf : public std::basic_streambuf { public: - void setbuf(CharT* start, CharT* finish) + void lcast_setbuf(CharT* start, CharT* finish) { this->setg(start, start, finish); } @@ -619,7 +619,7 @@ namespace boost return false; lexical_streambuf sb; - sb.setbuf(start, finish); + sb.lcast_setbuf(start, finish); std::basic_istream stream(&sb); stream.unsetf(std::ios::skipws);