diff options
Diffstat (limited to 'src/mongo/db/ops/modifier_table_test.cpp')
-rw-r--r-- | src/mongo/db/ops/modifier_table_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/ops/modifier_table_test.cpp b/src/mongo/db/ops/modifier_table_test.cpp index 23f568b1981..239f9eb5a34 100644 --- a/src/mongo/db/ops/modifier_table_test.cpp +++ b/src/mongo/db/ops/modifier_table_test.cpp @@ -38,7 +38,7 @@ namespace { using namespace mongo::modifiertable; using mongo::ModifierInterface; - using std::auto_ptr; + using std::unique_ptr; TEST(getType, Normal) { ASSERT_EQUALS(getType("$set"), MOD_SET); @@ -47,7 +47,7 @@ namespace { } TEST(makeUpdateMod, Normal) { - auto_ptr<ModifierInterface> mod; + unique_ptr<ModifierInterface> mod; mod.reset(makeUpdateMod(MOD_SET)); ASSERT_NOT_EQUALS(mod.get(), static_cast<ModifierInterface*>(0)); |