forked from boostorg/system
Quiet compiler warnings
[SVN r39585]
This commit is contained in:
@@ -146,11 +146,11 @@ namespace boost
|
||||
{
|
||||
public:
|
||||
virtual ~error_category(){}
|
||||
virtual const char * name() const; // see implementation note below
|
||||
virtual std::string message( int ev ) const; // see implementation note below
|
||||
virtual error_condition default_error_condition( int ev ) const;
|
||||
virtual bool equivalent( int code, const error_condition & condition ) const;
|
||||
virtual bool equivalent( const error_code & code, int condition ) const;
|
||||
virtual inline const char * name() const; // see implementation note below
|
||||
virtual inline std::string message( int ev ) const; // see implementation note below
|
||||
virtual inline error_condition default_error_condition( int ev ) const;
|
||||
virtual inline bool equivalent( int code, const error_condition & condition ) const;
|
||||
virtual inline bool equivalent( const error_code & code, int condition ) const;
|
||||
|
||||
bool operator==(const error_category & rhs) const { return this == &rhs; }
|
||||
bool operator!=(const error_category & rhs) const { return this != &rhs; }
|
||||
|
@@ -50,6 +50,7 @@ namespace
|
||||
class posix_error_category : public error_category
|
||||
{
|
||||
public:
|
||||
posix_error_category(){}
|
||||
const char * name() const;
|
||||
std::string message( int ev ) const;
|
||||
};
|
||||
@@ -57,6 +58,7 @@ namespace
|
||||
class system_error_category : public error_category
|
||||
{
|
||||
public:
|
||||
system_error_category(){}
|
||||
const char * name() const;
|
||||
std::string message( int ev ) const;
|
||||
error_condition default_error_condition( int ev ) const;
|
||||
|
Reference in New Issue
Block a user