summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-01-13 12:38:24 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-13 18:23:28 +0000
commit11908a3840a43b7a58126eb38644863b5c0b20f6 (patch)
tree7dbb24b877f84c558ae067e5a9b3b1a47b4b9cdf /src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
parenta2e32913f7f6321b4cf293066703e867391db431 (diff)
downloadmongo-11908a3840a43b7a58126eb38644863b5c0b20f6.tar.gz
SERVER-53580 restore const qualifiers to arguments in function definitions
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp')
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp b/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
index 088b3b35089..1ad0ea77490 100644
--- a/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
@@ -98,8 +98,8 @@ ReplSetHeartbeatResponse ReplCoordHBV1Test::receiveHeartbeatFrom(
const ReplSetConfig& rsConfig,
int sourceId,
const HostAndPort& source,
- int term,
- boost::optional<int> currentPrimaryId) {
+ const int term,
+ const boost::optional<int> currentPrimaryId) {
ReplSetHeartbeatArgsV1 hbArgs;
hbArgs.setConfigVersion(rsConfig.getConfigVersion());
hbArgs.setConfigTerm(rsConfig.getConfigTerm());