From 2fe6da790e143e082bb512502b8d92c1f19ee870 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/tracer/exceptions.cxx | 2 +- odb/tracer/exceptions.hxx | 2 +- 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: -- cgit v1.1