aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/connection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/oracle/connection.hxx')
-rw-r--r--odb/oracle/connection.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/odb/oracle/connection.hxx b/odb/oracle/connection.hxx
index 5c26b1c..f494a80 100644
--- a/odb/oracle/connection.hxx
+++ b/odb/oracle/connection.hxx
@@ -7,13 +7,12 @@
#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/buffer.hxx>
+#include <odb/details/shared-ptr.hxx>
+#include <odb/details/unique-ptr.hxx>
#include <odb/oracle/version.hxx>
#include <odb/oracle/forward.hxx>
@@ -133,8 +132,7 @@ namespace odb
auto_handle<OCISvcCtx> handle_;
bool failed_;
- std::auto_ptr<statement_cache_type> statement_cache_;
-
+ details::unique_ptr<statement_cache_type> statement_cache_;
details::buffer lob_buffer_;
};
}