aboutsummaryrefslogtreecommitdiff
path: root/odb/exception.cxx
blob: 330e70a428634b3d702fd2de6891d31b15cb8747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 ();
  }
}