From 13dd928ae18ef9610bc820b7b3e65629addea1d2 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/exception.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'odb/exception.hxx') 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::core +#include // ODB_NOTHROW_NOEXCEPT #include #include @@ -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; -- cgit v1.1