summaryrefslogtreecommitdiff
path: root/pgsql/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 /pgsql/types/test.hxx
parent02367faedb16b6186e8852de47e5b749dc48c2df (diff)
Switch to build2
Diffstat (limited to 'pgsql/types/test.hxx')
-rw-r--r--pgsql/types/test.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/pgsql/types/test.hxx b/pgsql/types/test.hxx
index f44d73e..462ebad 100644
--- a/pgsql/types/test.hxx
+++ b/pgsql/types/test.hxx
@@ -7,13 +7,13 @@
#include <set>
#include <string>
#include <vector>
-#include <memory> // std::auto_ptr
+#include <memory> // std::unique_ptr
#include <cstring> // std::memcmp, std::memcpy, std::str[n]cmp, std::strlen
#include <cstddef> // std::size_t
#include <odb/core.hxx>
-#include <common/buffer.hxx>
+#include <libcommon/buffer.hxx>
struct bitfield
{
@@ -71,7 +71,7 @@ operator== (const varbit& x, const varbit& y)
#pragma db value(bitfield) type ("BIT(4)")
-typedef std::auto_ptr<std::string> string_ptr;
+typedef std::unique_ptr<std::string> string_ptr;
enum color {red, green, blue};