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/lazy-pointer-traits.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/lazy-pointer-traits.hxx') diff --git a/odb/lazy-pointer-traits.hxx b/odb/lazy-pointer-traits.hxx index 12e0a08..bc9e64e 100644 --- a/odb/lazy-pointer-traits.hxx +++ b/odb/lazy-pointer-traits.hxx @@ -38,6 +38,7 @@ namespace odb } }; +#ifndef ODB_CXX11 template class pointer_traits< lazy_auto_ptr > { @@ -62,6 +63,7 @@ namespace odb return p.template object_id (); } }; +#endif #ifdef ODB_CXX11 template -- cgit v1.1