summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2022-07-04 05:21:45 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-04 10:19:53 +0000
commit97b232efde7a010104aa91db945019f5f89f53dd (patch)
tree592b77cb28368682102689e22d7040d515306dbd /src
parentfaae30946d1b773b2b32db06c6ac6f0208188a10 (diff)
downloadmongo-97b232efde7a010104aa91db945019f5f89f53dd.tar.gz
SERVER-67768 fix clang-tidy
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/s/balancer/type_migration.cpp2
-rw-r--r--src/mongo/db/s/balancer/type_migration.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/balancer/type_migration.cpp b/src/mongo/db/s/balancer/type_migration.cpp
index a93ae921bd3..cd50dce077d 100644
--- a/src/mongo/db/s/balancer/type_migration.cpp
+++ b/src/mongo/db/s/balancer/type_migration.cpp
@@ -63,7 +63,7 @@ MigrationType::MigrationType(
const ShardId& toShard,
const ChunkVersion& chunkVersion,
bool waitForDelete,
- ForceJumbo forceJumbo,
+ const ForceJumbo forceJumbo,
const boost::optional<int64_t>& maxChunkSizeBytes,
const boost::optional<MigrationSecondaryThrottleOptions>& secondaryThrottle)
: _nss(nss),
diff --git a/src/mongo/db/s/balancer/type_migration.h b/src/mongo/db/s/balancer/type_migration.h
index e1b96c27ddb..84c7ce5fa22 100644
--- a/src/mongo/db/s/balancer/type_migration.h
+++ b/src/mongo/db/s/balancer/type_migration.h
@@ -65,7 +65,7 @@ public:
const ShardId& toShard,
const ChunkVersion& chunkVersion,
bool waitForDelete,
- const ForceJumbo forceJumbo,
+ ForceJumbo forceJumbo,
const boost::optional<int64_t>& maxChunkSizeBytes,
const boost::optional<MigrationSecondaryThrottleOptions>& secondaryTrottle);