diff options
-rw-r--r-- | odb/mysql/exceptions.cxx | 2 | ||||
-rw-r--r-- | odb/mysql/exceptions.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/exceptions.cxx b/odb/mysql/exceptions.cxx index 395961e..71c61ec 100644 --- a/odb/mysql/exceptions.cxx +++ b/odb/mysql/exceptions.cxx @@ -51,7 +51,7 @@ namespace odb what_ = ostr.str (); } - char const* database_exception:: + const char* database_exception:: what () const throw () { return what_.c_str (); diff --git a/odb/mysql/exceptions.hxx b/odb/mysql/exceptions.hxx index 058f28b..ad9efa3 100644 --- a/odb/mysql/exceptions.hxx +++ b/odb/mysql/exceptions.hxx @@ -42,7 +42,7 @@ namespace odb return message_; } - virtual char const* + virtual const char* what () const throw (); private: |