summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanika Phanse <sanika.phanse@mongodb.com>2022-10-25 14:50:05 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-25 16:15:49 +0000
commit6fb14751ffca62190c71adf8fefdd7728816a1c5 (patch)
tree81759079457a818c4cf6efbae9995c7db55f63a6
parent0fc00df717206cee4ba0165fb50b84411c5e4517 (diff)
downloadmongo-6fb14751ffca62190c71adf8fefdd7728816a1c5.tar.gz
SERVER-70814 Remove const qualifier in _createCmdObj() method signature
-rw-r--r--src/mongo/s/commands/cluster_write_without_shard_key_cmd.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/commands/cluster_write_without_shard_key_cmd.cpp b/src/mongo/s/commands/cluster_write_without_shard_key_cmd.cpp
index a835cfc9982..6f4f83be63d 100644
--- a/src/mongo/s/commands/cluster_write_without_shard_key_cmd.cpp
+++ b/src/mongo/s/commands/cluster_write_without_shard_key_cmd.cpp
@@ -45,10 +45,10 @@
namespace mongo {
namespace {
-const BSONObj _createCmdObj(const BSONObj& writeCmd,
- const StringData& commandName,
- const BSONObj& targetDocId,
- const NamespaceString& nss) {
+BSONObj _createCmdObj(const BSONObj& writeCmd,
+ const StringData& commandName,
+ const BSONObj& targetDocId,
+ const NamespaceString& nss) {
// Drop collation and writeConcern as
// targeting by _id uses default collation and writeConcern cannot be specified for
// commands run in internal transactions. This object will be used to construct the command