diff options
author | Sanika Phanse <sanika.phanse@mongodb.com> | 2022-10-25 14:50:05 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-10-25 16:15:49 +0000 |
commit | 6fb14751ffca62190c71adf8fefdd7728816a1c5 (patch) | |
tree | 81759079457a818c4cf6efbae9995c7db55f63a6 /src/mongo/s | |
parent | 0fc00df717206cee4ba0165fb50b84411c5e4517 (diff) | |
download | mongo-6fb14751ffca62190c71adf8fefdd7728816a1c5.tar.gz |
SERVER-70814 Remove const qualifier in _createCmdObj() method signature
Diffstat (limited to 'src/mongo/s')
-rw-r--r-- | src/mongo/s/commands/cluster_write_without_shard_key_cmd.cpp | 8 |
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 |