From 6e374de9ae2f2978f2fca3390aba4ea3f72bfade Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 Nov 2017 10:37:53 +0200 Subject: Switch to C++11, get rid of auto_ptr use --- odb/context.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/context.cxx') diff --git a/odb/context.cxx b/odb/context.cxx index 0ca39a8..7801072 100644 --- a/odb/context.cxx +++ b/odb/context.cxx @@ -796,14 +796,14 @@ namespace }; } -auto_ptr +unique_ptr create_context (ostream& os, semantics::unit& unit, options const& ops, features& f, semantics::relational::model* m) { - auto_ptr r; + unique_ptr r; switch (ops.database ()[0]) { -- cgit v1.1