aboutsummaryrefslogtreecommitdiff
path: root/odb/exception.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/exception.hxx')
-rw-r--r--odb/exception.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/exception.hxx b/odb/exception.hxx
index 3a0b809..3ce587b 100644
--- a/odb/exception.hxx
+++ b/odb/exception.hxx
@@ -11,6 +11,7 @@
#include <odb/forward.hxx> // odb::core
+#include <odb/details/config.hxx> // ODB_NOTHROW_NOEXCEPT
#include <odb/details/export.hxx>
#include <odb/details/shared-ptr/base.hxx>
@@ -19,7 +20,7 @@ namespace odb
struct LIBODB_EXPORT exception: std::exception, details::shared_base
{
virtual const char*
- what () const throw () = 0;
+ what () const ODB_NOTHROW_NOEXCEPT = 0;
virtual exception*
clone () const = 0;