From eeb35e7debc2eb04a91d712fbdb088eab9bdc33a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Aug 2010 12:07:03 +0200 Subject: Make use of const style consistent --- odb/mysql/exceptions.cxx | 2 +- 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: -- cgit v1.1