aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/tracer/exceptions.cxx2
-rw-r--r--odb/tracer/exceptions.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/tracer/exceptions.cxx b/odb/tracer/exceptions.cxx
index 14977cc..f18e572 100644
--- a/odb/tracer/exceptions.cxx
+++ b/odb/tracer/exceptions.cxx
@@ -22,7 +22,7 @@ namespace odb
{
}
- char const* database_exception::
+ const char* database_exception::
what () const throw ()
{
return what_.c_str ();
diff --git a/odb/tracer/exceptions.hxx b/odb/tracer/exceptions.hxx
index 7a1dc9f..bfe9c49 100644
--- a/odb/tracer/exceptions.hxx
+++ b/odb/tracer/exceptions.hxx
@@ -19,7 +19,7 @@ namespace odb
database_exception (const std::string&);
~database_exception () throw ();
- virtual char const*
+ virtual const char*
what () const throw ();
private: