aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-16 12:07:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-16 12:07:03 +0200
commiteeb35e7debc2eb04a91d712fbdb088eab9bdc33a (patch)
treec27ff4bf63e5ed97f09377dfb70644a30df2cd7d
parentc803163e7c8af93828809cd98a12c14d36ee96c4 (diff)
Make use of const style consistent
-rw-r--r--odb/mysql/exceptions.cxx2
-rw-r--r--odb/mysql/exceptions.hxx2
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: