diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-15 18:50:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-15 18:50:51 +0200 |
commit | 13dd928ae18ef9610bc820b7b3e65629addea1d2 (patch) | |
tree | d9ee8ef03e3ee5a3be9925de08537b03cf29320b /odb/wrapper-traits.hxx | |
parent | b33321c4d05c0ac759bf3fcf647a568af8bfca0c (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/wrapper-traits.hxx')
-rw-r--r-- | odb/wrapper-traits.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/wrapper-traits.hxx b/odb/wrapper-traits.hxx index 47b6701..6ed1b60 100644 --- a/odb/wrapper-traits.hxx +++ b/odb/wrapper-traits.hxx @@ -77,6 +77,7 @@ namespace odb // Specialization for std::auto_ptr. // +#ifndef ODB_CXX11 template <typename T> class wrapper_traits< std::auto_ptr<T> > { @@ -122,6 +123,7 @@ namespace odb return const_cast<unrestricted_wrapped_type&> (*p); } }; +#endif #ifdef ODB_CXX11 |