aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/connection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/connection.hxx')
-rw-r--r--odb/pgsql/connection.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/odb/pgsql/connection.hxx b/odb/pgsql/connection.hxx
index 8d699fc..8ac0f50 100644
--- a/odb/pgsql/connection.hxx
+++ b/odb/pgsql/connection.hxx
@@ -7,12 +7,11 @@
#include <odb/pre.hxx>
-#include <memory> // std::auto_ptr
-
#include <odb/forward.hxx>
#include <odb/connection.hxx>
#include <odb/details/shared-ptr.hxx>
+#include <odb/details/unique-ptr.hxx>
#include <odb/pgsql/version.hxx>
#include <odb/pgsql/forward.hxx>
@@ -125,7 +124,7 @@ namespace odb
// Keep statement_cache_ after handle_ so that it is destroyed before
// the connection is closed.
//
- std::auto_ptr<statement_cache_type> statement_cache_;
+ details::unique_ptr<statement_cache_type> statement_cache_;
};
}
}