diff options
Diffstat (limited to 'common/wrapper')
-rw-r--r-- | common/wrapper/test.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/wrapper/test.hxx b/common/wrapper/test.hxx index 9e3dc2b..36aec87 100644 --- a/common/wrapper/test.hxx +++ b/common/wrapper/test.hxx @@ -231,7 +231,11 @@ namespace test5 unsigned long id; #pragma db null +#ifdef HAVE_CXX11 + std::unique_ptr<comp> p; +#else std::auto_ptr<comp> p; +#endif odb::nullable<comp> n; |