diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-07 10:37:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-07 10:37:53 +0200 |
commit | 6e374de9ae2f2978f2fca3390aba4ea3f72bfade (patch) | |
tree | a603c240f79494e0139445c20f63f32db04d5277 /odb/context.hxx | |
parent | fde4431ec608b467de6ab205e3f73848fe9efbdf (diff) |
Switch to C++11, get rid of auto_ptr use
Diffstat (limited to 'odb/context.hxx')
-rw-r--r-- | odb/context.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/context.hxx b/odb/context.hxx index 7c983fc..103646d 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -13,7 +13,7 @@ #include <stack> #include <vector> #include <string> -#include <memory> // std::auto_ptr +#include <memory> // std::unique_ptr #include <ostream> #include <cstddef> // std::size_t #include <iostream> @@ -1899,7 +1899,7 @@ private: // Create concrete database context. // -std::auto_ptr<context> +std::unique_ptr<context> create_context (std::ostream&, semantics::unit&, options const&, |