diff options
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 |