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/validator.cxx | |
parent | fde4431ec608b467de6ab205e3f73848fe9efbdf (diff) |
Switch to C++11, get rid of auto_ptr use
Diffstat (limited to 'odb/validator.cxx')
-rw-r--r-- | odb/validator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/validator.cxx b/odb/validator.cxx index 6ba5efb..0c95d0f 100644 --- a/odb/validator.cxx +++ b/odb/validator.cxx @@ -1816,7 +1816,7 @@ validate (options const& ops, if (!valid) throw validator_failed (); - auto_ptr<context> ctx (create_context (cerr, u, ops, f, 0)); + unique_ptr<context> ctx (create_context (cerr, u, ops, f, 0)); if (pass == 1) { |