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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/s/resharding/resharding_util_test.cpp b/src/mongo/db/s/resharding/resharding_util_test.cpp
index 888ba775ee5..6404975d2d5 100644
--- a/src/mongo/db/s/resharding/resharding_util_test.cpp
+++ b/src/mongo/db/s/resharding/resharding_util_test.cpp
@@ -68,7 +68,7 @@ protected:
ConfigServerTestFixture::tearDown();
}
- const std::string shardKey() {
+ std::string shardKey() {
return _shardKey;
}
@@ -76,7 +76,7 @@ protected:
return _shardKeyPattern.getKeyPattern();
}
- const NamespaceString nss() {
+ NamespaceString nss() {
return _nss;
}
@@ -84,7 +84,7 @@ protected:
return ReshardingZoneType(zoneName, range.getMin(), range.getMax());
}
- const std::string zoneName(std::string zoneNum) {
+ std::string zoneName(std::string zoneNum) {
return "_zoneName" + zoneNum;
}