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.cxx | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 odb/exception.cxx (limited to 'odb/exception.cxx') 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 -// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC -// license : GNU GPL v2; see accompanying LICENSE file - -#include - -#include - -namespace odb -{ - const char* exception:: - what () const throw () - { - return typeid (*this).name (); - } -} -- cgit v1.1