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/details/shared-ptr/exception.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'odb/details/shared-ptr/exception.hxx') diff --git a/odb/details/shared-ptr/exception.hxx b/odb/details/shared-ptr/exception.hxx index 99ed069..a006a35 100644 --- a/odb/details/shared-ptr/exception.hxx +++ b/odb/details/shared-ptr/exception.hxx @@ -8,6 +8,8 @@ #include #include + +#include // ODB_NOTHROW_NOEXCEPT #include namespace odb @@ -17,7 +19,7 @@ namespace odb struct LIBODB_EXPORT not_shared: exception { virtual const char* - what () const throw (); + what () const ODB_NOTHROW_NOEXCEPT; virtual not_shared* clone () const; -- cgit v1.1