From 500550e39e1ab9a3cd97ac2f1902ff5386ff9211 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Jun 2016 18:50:51 +0200 Subject: Get rid of C++11 deprecation warnings for auto_ptr, exception specs In particular, std::auto_ptr is no longer mapped in C++11. --- odb/boost/exception.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'odb/boost/exception.hxx') 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 +#include // ODB_NOTHROW_NOEXCEPT #include 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; }; } } -- cgit v1.1