summaryrefslogtreecommitdiff
path: root/mysql/types/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 /mysql/types/test.hxx
parent02367faedb16b6186e8852de47e5b749dc48c2df (diff)
Switch to build2
Diffstat (limited to 'mysql/types/test.hxx')
-rw-r--r--mysql/types/test.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql/types/test.hxx b/mysql/types/test.hxx
index 12eb4e0..82f7496 100644
--- a/mysql/types/test.hxx
+++ b/mysql/types/test.hxx
@@ -7,7 +7,7 @@
#include <set>
#include <string>
#include <vector>
-#include <memory> // std::auto_ptr
+#include <memory> // std::unique_ptr
#include <cstring> // std::memcpy, std::str[n]cmp, std::strlen
#include <odb/core.hxx>
@@ -84,7 +84,7 @@ operator== (bitfield x, bitfield y)
#pragma db value(bitfield) type ("BIT(4)")
typedef std::set<std::string> set;
-typedef std::auto_ptr<std::string> string_ptr;
+typedef std::unique_ptr<std::string> string_ptr;
enum color {red, green, blue};