From f7bf16d50f6f08c66b1bae35e2dab327d560b0f3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Sep 2010 14:58:52 +0200 Subject: Make odb::exception abstract Implement what() in concrete exceptions. --- odb/exception.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'odb/exception.hxx') diff --git a/odb/exception.hxx b/odb/exception.hxx index 0ab188a..e0217b7 100644 --- a/odb/exception.hxx +++ b/odb/exception.hxx @@ -16,10 +16,8 @@ namespace odb { struct LIBODB_EXPORT exception: std::exception { - // By default return the exception type name ( typeid (*this).name () ). - // virtual const char* - what () const throw (); + what () const throw () = 0; }; } -- cgit v1.1