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/meta/polymorphic-p.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'odb/details/meta/polymorphic-p.hxx') diff --git a/odb/details/meta/polymorphic-p.hxx b/odb/details/meta/polymorphic-p.hxx index bd90fc2..5315afc 100644 --- a/odb/details/meta/polymorphic-p.hxx +++ b/odb/details/meta/polymorphic-p.hxx @@ -7,6 +7,7 @@ #include +#include // ODB_NOTHROW_NOEXCEPT #include #include @@ -40,7 +41,7 @@ namespace odb t2 (); virtual - ~t2 () throw (); + ~t2 () ODB_NOTHROW_NOEXCEPT; }; static const bool result = sizeof (t1) == sizeof (t2); -- cgit v1.1