Fix overloaded virtual function warnings
This commit is contained in:
parent
5a91c4f118
commit
874f103b8d
4 changed files with 30 additions and 27 deletions
|
|
@ -38,6 +38,7 @@ namespace fc {
|
|||
size_t readsome(const std::shared_ptr<char>& buffer, size_t max, size_t offset);
|
||||
ifstream& read( char* buf, size_t len );
|
||||
ifstream& seekg( size_t p, seekdir d = beg );
|
||||
using istream::get;
|
||||
void get( char& c ) { read( &c, 1 ); }
|
||||
void close();
|
||||
bool eof()const;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ namespace fc {
|
|||
fc::ip::endpoint remote_endpoint() const;
|
||||
fc::ip::endpoint local_endpoint() const;
|
||||
|
||||
using istream::get;
|
||||
void get( char& c )
|
||||
{
|
||||
read( &c, 1 );
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ namespace fc {
|
|||
fc::ip::endpoint remote_endpoint() const;
|
||||
fc::ip::endpoint local_endpoint() const;
|
||||
|
||||
using istream::get;
|
||||
void get( char& c )
|
||||
{
|
||||
read( &c, 1 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue