summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-05-17 16:13:57 -0400
committerMathias Stearn <mathias@10gen.com>2017-05-17 19:29:36 -0400
commit9687c56dad047fb222076c0eb5fb25db6a796219 (patch)
treec3d197a64776090c57cd761d104f014ba8d2a8e8 /src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
parent4ec8e7a515ceb3e87b64ddde624404d1c4498066 (diff)
downloadmongo-9687c56dad047fb222076c0eb5fb25db6a796219.tar.gz
SERVER-29260 Make BSONObj argument to Command::run() const&
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp b/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
index d6cd3d89773..eeb12474948 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp
@@ -141,7 +141,7 @@ public:
bool run(OperationContext* opCtx,
const std::string&,
- BSONObj& cmdObj,
+ const BSONObj& cmdObj,
std::string& errmsg,
BSONObjBuilder& result) {
const MigrationSessionId migrationSessionId(
@@ -204,7 +204,7 @@ public:
bool run(OperationContext* opCtx,
const std::string&,
- BSONObj& cmdObj,
+ const BSONObj& cmdObj,
std::string& errmsg,
BSONObjBuilder& result) {
const MigrationSessionId migrationSessionId(