aboutsummaryrefslogtreecommitdiff
path: root/qt/common/containers/change-tracking/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'qt/common/containers/change-tracking/test.hxx')
-rw-r--r--qt/common/containers/change-tracking/test.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt/common/containers/change-tracking/test.hxx b/qt/common/containers/change-tracking/test.hxx
index c792b19..dcebf2e 100644
--- a/qt/common/containers/change-tracking/test.hxx
+++ b/qt/common/containers/change-tracking/test.hxx
@@ -18,7 +18,11 @@
#include <odb/core.hxx>
#include <odb/qt/list.hxx>
+#ifdef HAVE_CXX11
+#pragma db object pointer(std::unique_ptr)
+#else
#pragma db object pointer(std::auto_ptr)
+#endif
struct object
{
object () {}