aboutsummaryrefslogtreecommitdiff
path: root/common/const-member/test.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-12-13 21:57:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-23 21:20:44 +0300
commitfc3fb39c90ab7fe5fccbe3f3bc0eb2645157bb96 (patch)
tree6c8c1bfb5fe89f7378b92ac066b4ca8ecfd25228 /common/const-member/test.hxx
parent02367faedb16b6186e8852de47e5b749dc48c2df (diff)
Switch to build2
Diffstat (limited to 'common/const-member/test.hxx')
-rw-r--r--common/const-member/test.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/const-member/test.hxx b/common/const-member/test.hxx
index cf8ba94..ab75c55 100644
--- a/common/const-member/test.hxx
+++ b/common/const-member/test.hxx
@@ -4,8 +4,6 @@
#ifndef TEST_HXX
#define TEST_HXX
-#include <common/config.hxx> // HAVE_CXX11
-
#include <vector>
#include <string>
#include <memory> // std::auto_ptr
@@ -103,15 +101,9 @@ struct wrapper
#pragma db id
unsigned long id;
-#ifdef HAVE_CXX11
const std::unique_ptr<const std::string> str;
const std::unique_ptr<const wrapped_value> com;
const std::unique_ptr<const std::vector<unsigned long>> vec;
-#else
- const std::auto_ptr<const std::string> str;
- const std::auto_ptr<const wrapped_value> com;
- const std::auto_ptr< const std::vector<unsigned long> > vec;
-#endif
};
#endif // TEST_HXX