diff options
Diffstat (limited to 'common/container/change-tracking/test.hxx')
-rw-r--r-- | common/container/change-tracking/test.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/container/change-tracking/test.hxx b/common/container/change-tracking/test.hxx index bcb6880..0117316 100644 --- a/common/container/change-tracking/test.hxx +++ b/common/container/change-tracking/test.hxx @@ -18,7 +18,11 @@ #include <odb/core.hxx> #include <odb/vector.hxx> +#ifdef HAVE_CXX11 +#pragma db object pointer(std::unique_ptr) +#else #pragma db object pointer(std::auto_ptr) +#endif struct object { object () {} |