aboutsummaryrefslogtreecommitdiff
path: root/odb/exception.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-08-14 09:37:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-11 10:27:11 +0200
commitded152cfb675537ab4ce24f50d0e95cec5b83b18 (patch)
treec5571f283fa6c0a5735ea4716b0592d9d3b8169d /odb/exception.hxx
parent6375147d5ae76a84dd64f1996cb0d9d501839db6 (diff)
Draft implementation for INSERT
Diffstat (limited to 'odb/exception.hxx')
-rw-r--r--odb/exception.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/odb/exception.hxx b/odb/exception.hxx
index 89b5dae..03a123d 100644
--- a/odb/exception.hxx
+++ b/odb/exception.hxx
@@ -10,14 +10,19 @@
#include <exception>
#include <odb/forward.hxx> // odb::core
+
#include <odb/details/export.hxx>
+#include <odb/details/shared-ptr/base.hxx>
namespace odb
{
- struct LIBODB_EXPORT exception: std::exception
+ struct LIBODB_EXPORT exception: std::exception, details::shared_base
{
virtual const char*
what () const throw () = 0;
+
+ virtual exception*
+ clone () const = 0;
};
namespace common