aboutsummaryrefslogtreecommitdiff
path: root/odb/lazy-pointer-traits.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/lazy-pointer-traits.hxx')
-rw-r--r--odb/lazy-pointer-traits.hxx2
1 files changed, 2 insertions, 0 deletions
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 <typename T>
class pointer_traits< lazy_auto_ptr<T> >
{
@@ -62,6 +63,7 @@ namespace odb
return p.template object_id<O> ();
}
};
+#endif
#ifdef ODB_CXX11
template <typename T, typename D>