|
Boost-Commit : |
From: bdawes_at_[hidden]
Date: 2007-09-27 22:03:31
Author: bemandawes
Date: 2007-09-27 22:03:29 EDT (Thu, 27 Sep 2007)
New Revision: 39585
URL: http://svn.boost.org/trac/boost/changeset/39585
Log:
Quiet compiler warnings
Text files modified:
trunk/boost/system/error_code.hpp | 10 +++++-----
trunk/libs/system/src/error_code.cpp | 2 ++
2 files changed, 7 insertions(+), 5 deletions(-)
Modified: trunk/boost/system/error_code.hpp
==============================================================================
--- trunk/boost/system/error_code.hpp (original)
+++ trunk/boost/system/error_code.hpp 2007-09-27 22:03:29 EDT (Thu, 27 Sep 2007)
@@ -146,11 +146,11 @@
{
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; }
Modified: trunk/libs/system/src/error_code.cpp
==============================================================================
--- trunk/libs/system/src/error_code.cpp (original)
+++ trunk/libs/system/src/error_code.cpp 2007-09-27 22:03:29 EDT (Thu, 27 Sep 2007)
@@ -50,6 +50,7 @@
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 @@
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;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk