From fc3fb39c90ab7fe5fccbe3f3bc0eb2645157bb96 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 13 Dec 2023 21:57:53 +0300 Subject: Switch to build2 --- common/readonly/test.hxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'common/readonly/test.hxx') 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 // HAVE_CXX11 - #include -#include // std::auto_ptr +#include // std::unique_ptr #include @@ -204,17 +202,10 @@ struct wrapper #pragma db id unsigned long id; -#ifdef HAVE_CXX11 std::unique_ptr pl; const std::unique_ptr cpl; std::unique_ptr pcl; const std::unique_ptr cpcl; -#else - std::auto_ptr pl; - const std::auto_ptr cpl; - std::auto_ptr pcl; - const std::auto_ptr cpcl; -#endif }; // Readonly object with auto id. -- cgit v1.1