diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-15 18:50:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-15 18:50:51 +0200 |
commit | 500550e39e1ab9a3cd97ac2f1902ff5386ff9211 (patch) | |
tree | 93c379b3df7b06c482780101814d2dab78b319e7 /odb/boost/date-time/exceptions.hxx | |
parent | ff3773359abbed8fbe11e8223418305e49b7463f (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/date-time/exceptions.hxx')
-rw-r--r-- | odb/boost/date-time/exceptions.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/odb/boost/date-time/exceptions.hxx b/odb/boost/date-time/exceptions.hxx index b180579..2e3b408 100644 --- a/odb/boost/date-time/exceptions.hxx +++ b/odb/boost/date-time/exceptions.hxx @@ -7,6 +7,8 @@ #include <odb/pre.hxx> +#include <odb/details/config.hxx> // ODB_NOTHROW_NOEXCEPT + #include <odb/boost/exception.hxx> #include <odb/boost/details/export.hxx> @@ -19,7 +21,7 @@ namespace odb struct LIBODB_BOOST_EXPORT special_value: exception { virtual const char* - what () const throw (); + what () const ODB_NOTHROW_NOEXCEPT; virtual special_value* clone () const; @@ -28,7 +30,7 @@ namespace odb struct LIBODB_BOOST_EXPORT value_out_of_range: exception { virtual const char* - what () const throw (); + what () const ODB_NOTHROW_NOEXCEPT; virtual value_out_of_range* clone () const; |