summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_util_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_util_test.cpp')
-rw-r--r--src/mongo/db/s/resharding/resharding_util_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_util_test.cpp b/src/mongo/db/s/resharding/resharding_util_test.cpp
index 69368692723..8de383855b7 100644
--- a/src/mongo/db/s/resharding/resharding_util_test.cpp
+++ b/src/mongo/db/s/resharding/resharding_util_test.cpp
@@ -92,7 +92,7 @@ protected:
}
private:
- const NamespaceString _nss{"test.foo"};
+ const NamespaceString _nss = NamespaceString::createNamespaceString_forTest("test.foo");
const std::string _shardKey = "x";
const ShardKeyPattern _shardKeyPattern = ShardKeyPattern(BSON("x"
<< "hashed"));