aboutsummaryrefslogtreecommitdiff
path: root/odb/details/meta/polymorphic-p.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-06-15 18:50:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-06-15 18:50:51 +0200
commit13dd928ae18ef9610bc820b7b3e65629addea1d2 (patch)
treed9ee8ef03e3ee5a3be9925de08537b03cf29320b /odb/details/meta/polymorphic-p.hxx
parentb33321c4d05c0ac759bf3fcf647a568af8bfca0c (diff)
Get rid of C++11 deprecation warnings for auto_ptr, exception specs
In particular, std::auto_ptr is no longer mapped in C++11.
Diffstat (limited to 'odb/details/meta/polymorphic-p.hxx')
-rw-r--r--odb/details/meta/polymorphic-p.hxx3
1 files changed, 2 insertions, 1 deletions
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 <odb/pre.hxx>
+#include <odb/details/config.hxx> // ODB_NOTHROW_NOEXCEPT
#include <odb/details/meta/class-p.hxx>
#include <odb/details/meta/remove-const-volatile.hxx>
@@ -40,7 +41,7 @@ namespace odb
t2 ();
virtual
- ~t2 () throw ();
+ ~t2 () ODB_NOTHROW_NOEXCEPT;
};
static const bool result = sizeof (t1) == sizeof (t2);