summaryrefslogtreecommitdiff
path: root/src/mongo/s/shard_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/shard_id.h')
-rw-r--r--src/mongo/s/shard_id.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/shard_id.h b/src/mongo/s/shard_id.h
index 76a31769453..cbb15032cca 100644
--- a/src/mongo/s/shard_id.h
+++ b/src/mongo/s/shard_id.h
@@ -49,7 +49,7 @@ public:
ShardId() = default;
// Note that this c-tor allows the implicit conversion from std::string
- ShardId(const std::string shardId) : _shardId(std::move(shardId)) {}
+ ShardId(std::string shardId) : _shardId(std::move(shardId)) {}
// Implicit StringData conversion
operator StringData();