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
commit2fe6da790e143e082bb512502b8d92c1f19ee870 (patch)
treeb725efbf3506d130a96686e97285739a689e0c34
parent1ee222df81fc2ad5cef3236eb6d481b50699c2ab (diff)
Make use of const style consistent
-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: