mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-17 07:48:50 +01:00
VS6 workaround
This commit is contained in:
parent
77f9fb1d31
commit
7f0224ffc1
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,7 @@ class basic_socketbuf : public std::basic_streambuf<charT, traitsT>
|
|||
public:
|
||||
typedef typename traitsT::int_type int_type;
|
||||
|
||||
#ifndef ARABICA_VS6_WORKAROUND
|
||||
using std::basic_streambuf<charT, traitsT>::setp;
|
||||
using std::basic_streambuf<charT, traitsT>::setg;
|
||||
using std::basic_streambuf<charT, traitsT>::underflow;
|
||||
|
@ -55,6 +56,7 @@ class basic_socketbuf : public std::basic_streambuf<charT, traitsT>
|
|||
using std::basic_streambuf<charT, traitsT>::egptr;
|
||||
using std::basic_streambuf<charT, traitsT>::eback;
|
||||
using std::basic_streambuf<charT, traitsT>::pptr;
|
||||
#endif
|
||||
|
||||
basic_socketbuf();
|
||||
virtual ~basic_socketbuf();
|
||||
|
@ -336,8 +338,10 @@ template<class charT, class traitsT>
|
|||
class basic_socketstream : public std::basic_iostream<charT, traitsT>
|
||||
{
|
||||
public:
|
||||
#ifndef ARABICA_VS6_WORKAROUND
|
||||
using std::basic_iostream<charT, traitsT>::setstate;
|
||||
using std::basic_iostream<charT, traitsT>::badbit;
|
||||
#endif
|
||||
|
||||
basic_socketstream();
|
||||
explicit basic_socketstream(const char* hostname, int port);
|
||||
|
|
Loading…
Reference in a new issue