diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-12-13 21:57:53 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-23 21:20:44 +0300 |
commit | fc3fb39c90ab7fe5fccbe3f3bc0eb2645157bb96 (patch) | |
tree | 6c8c1bfb5fe89f7378b92ac066b4ca8ecfd25228 /common/readonly/test.hxx | |
parent | 02367faedb16b6186e8852de47e5b749dc48c2df (diff) |
Switch to build2
Diffstat (limited to 'common/readonly/test.hxx')
-rw-r--r-- | common/readonly/test.hxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/common/readonly/test.hxx b/common/readonly/test.hxx index ad7727b..45797b6 100644 --- a/common/readonly/test.hxx +++ b/common/readonly/test.hxx @@ -4,10 +4,8 @@ #ifndef TEST_HXX #define TEST_HXX -#include <common/config.hxx> // HAVE_CXX11 - #include <vector> -#include <memory> // std::auto_ptr +#include <memory> // std::unique_ptr #include <odb/core.hxx> @@ -204,17 +202,10 @@ struct wrapper #pragma db id unsigned long id; -#ifdef HAVE_CXX11 std::unique_ptr<unsigned long> pl; const std::unique_ptr<unsigned long> cpl; std::unique_ptr<const unsigned long> pcl; const std::unique_ptr<const unsigned long> cpcl; -#else - std::auto_ptr<unsigned long> pl; - const std::auto_ptr<unsigned long> cpl; - std::auto_ptr<const unsigned long> pcl; - const std::auto_ptr<const unsigned long> cpcl; -#endif }; // Readonly object with auto id. |