diff options
Diffstat (limited to 'odb/oracle/database.hxx')
-rw-r--r-- | odb/oracle/database.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/odb/oracle/database.hxx b/odb/oracle/database.hxx index d51d073..65d29c6 100644 --- a/odb/oracle/database.hxx +++ b/odb/oracle/database.hxx @@ -12,7 +12,7 @@ #include <iosfwd> // std::ostream #include <odb/database.hxx> -#include <odb/details/config.hxx> // ODB_CXX11 +#include <odb/details/unique-ptr.hxx> #include <odb/details/transfer-ptr.hxx> #include <odb/oracle/version.hxx> @@ -188,11 +188,7 @@ namespace odb auto_handle<OCIEnv> auto_environment_; OCIEnv* environment_; -#ifdef ODB_CXX11 - std::unique_ptr<connection_factory> factory_; -#else - std::auto_ptr<connection_factory> factory_; -#endif + details::unique_ptr<connection_factory> factory_; }; } } |