diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-13 14:58:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-13 14:58:52 +0200 |
commit | f7bf16d50f6f08c66b1bae35e2dab327d560b0f3 (patch) | |
tree | de7e3e7bc63aeba11a3c782b3c55c51b4d6b2001 /odb/exception.hxx | |
parent | 0634ddb1f04489b8fe26d131ee216dec0a47a28d (diff) |
Make odb::exception abstract
Implement what() in concrete exceptions.
Diffstat (limited to 'odb/exception.hxx')
-rw-r--r-- | odb/exception.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
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; }; } |