diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-08-14 09:37:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-25 06:39:57 +0200 |
commit | 8d4d2568f356cb9beb1553bf58ad69c1c800b996 (patch) | |
tree | d6466f2dec931669405b38a6cf47e8bb0998a4fd /odb/exception.hxx | |
parent | 46f28dcdf5a72ed430486b562213ad147b65526a (diff) |
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/exception.hxx')
-rw-r--r-- | odb/exception.hxx | 7 |
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 |