From 7d0d6d8cd5c7dd4f38df3133d988b8d5e57e125c Mon Sep 17 00:00:00 2001 From: jez_higgins <> Date: Tue, 14 Sep 2004 19:41:43 +0000 Subject: [PATCH] Added using declarations so will build under gcc 3.4.2 --- Utils/socket_stream.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Utils/socket_stream.h b/Utils/socket_stream.h index ad6613b0..a045dcbe 100644 --- a/Utils/socket_stream.h +++ b/Utils/socket_stream.h @@ -47,6 +47,15 @@ class basic_socketbuf : public std::basic_streambuf public: typedef typename traitsT::int_type int_type; + using std::basic_streambuf::setp; + using std::basic_streambuf::setg; + using std::basic_streambuf::underflow; + using std::basic_streambuf::gptr; + using std::basic_streambuf::gbump; + using std::basic_streambuf::egptr; + using std::basic_streambuf::eback; + using std::basic_streambuf::pptr; + basic_socketbuf(); virtual ~basic_socketbuf(); @@ -327,6 +336,9 @@ template class basic_socketstream : public std::basic_iostream { public: + using std::basic_iostream::setstate; + using std::basic_iostream::badbit; + basic_socketstream(); explicit basic_socketstream(const char* hostname, int port);