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.cxx | |
parent | 0634ddb1f04489b8fe26d131ee216dec0a47a28d (diff) |
Make odb::exception abstract
Implement what() in concrete exceptions.
Diffstat (limited to 'odb/exception.cxx')
-rw-r--r-- | odb/exception.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/odb/exception.cxx b/odb/exception.cxx deleted file mode 100644 index 330e70a..0000000 --- a/odb/exception.cxx +++ /dev/null @@ -1,17 +0,0 @@ -// file : odb/exception.cxx -// author : Boris Kolpackov <boris@codesynthesis.com> -// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC -// license : GNU GPL v2; see accompanying LICENSE file - -#include <typeinfo> - -#include <odb/exception.hxx> - -namespace odb -{ - const char* exception:: - what () const throw () - { - return typeid (*this).name (); - } -} |