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/wrapper-traits.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/wrapper-traits.hxx') 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 class wrapper_traits< std::auto_ptr > { @@ -122,6 +123,7 @@ namespace odb return const_cast (*p); } }; +#endif #ifdef ODB_CXX11 -- cgit v1.1