aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/exception.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-06-15 18:50:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-06-15 18:50:51 +0200
commit500550e39e1ab9a3cd97ac2f1902ff5386ff9211 (patch)
tree93c379b3df7b06c482780101814d2dab78b319e7 /odb/boost/exception.hxx
parentff3773359abbed8fbe11e8223418305e49b7463f (diff)
Get rid of C++11 deprecation warnings for auto_ptr, exception specs
In particular, std::auto_ptr is no longer mapped in C++11.
Diffstat (limited to 'odb/boost/exception.hxx')
-rw-r--r--odb/boost/exception.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/boost/exception.hxx b/odb/boost/exception.hxx
index 3cfb4a8..fa7dcec 100644
--- a/odb/boost/exception.hxx
+++ b/odb/boost/exception.hxx
@@ -9,6 +9,7 @@
#include <odb/exceptions.hxx>
+#include <odb/details/config.hxx> // ODB_NOTHROW_NOEXCEPT
#include <odb/boost/details/export.hxx>
namespace odb
@@ -18,7 +19,7 @@ namespace odb
struct LIBODB_BOOST_EXPORT exception: odb::exception
{
virtual const char*
- what () const throw () = 0;
+ what () const ODB_NOTHROW_NOEXCEPT = 0;
};
}
}