Fix overloaded virtual function warnings

This commit is contained in:
Vikram Rajkumar 2014-12-23 15:45:57 -05:00
parent 5a91c4f118
commit 874f103b8d
4 changed files with 30 additions and 27 deletions

View file

@ -38,6 +38,7 @@ namespace fc {
size_t readsome(const std::shared_ptr<char>& buffer, size_t max, size_t offset); size_t readsome(const std::shared_ptr<char>& buffer, size_t max, size_t offset);
ifstream& read( char* buf, size_t len ); ifstream& read( char* buf, size_t len );
ifstream& seekg( size_t p, seekdir d = beg ); ifstream& seekg( size_t p, seekdir d = beg );
using istream::get;
void get( char& c ) { read( &c, 1 ); } void get( char& c ) { read( &c, 1 ); }
void close(); void close();
bool eof()const; bool eof()const;

View file

@ -23,6 +23,7 @@ namespace fc {
fc::ip::endpoint remote_endpoint() const; fc::ip::endpoint remote_endpoint() const;
fc::ip::endpoint local_endpoint() const; fc::ip::endpoint local_endpoint() const;
using istream::get;
void get( char& c ) void get( char& c )
{ {
read( &c, 1 ); read( &c, 1 );

View file

@ -20,6 +20,7 @@ namespace fc {
fc::ip::endpoint remote_endpoint() const; fc::ip::endpoint remote_endpoint() const;
fc::ip::endpoint local_endpoint() const; fc::ip::endpoint local_endpoint() const;
using istream::get;
void get( char& c ) void get( char& c )
{ {
read( &c, 1 ); read( &c, 1 );