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/win32/exceptions.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'odb/details/win32/exceptions.hxx') diff --git a/odb/details/win32/exceptions.hxx b/odb/details/win32/exceptions.hxx index 7303bb7..1f8a4b2 100644 --- a/odb/details/win32/exceptions.hxx +++ b/odb/details/win32/exceptions.hxx @@ -7,9 +7,10 @@ #include -#include +#include // ODB_NOTHROW_NOEXCEPT #include #include +#include namespace odb { @@ -24,7 +25,7 @@ namespace odb code () const {return code_;} virtual const char* - what () const throw (); + what () const ODB_NOTHROW_NOEXCEPT; virtual win32_exception* clone () const; -- cgit v1.1