summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-06-24 09:56:42 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-24 21:08:36 +0000
commit29b431208ce22abe6082ba6f264fc12dc2158ce7 (patch)
tree4318c1a1a761f3b19301e37282a12899f4b385c4 /src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
parentc76a5544eb4423c7dbca6862fddf9371ce999f6f (diff)
downloadmongo-29b431208ce22abe6082ba6f264fc12dc2158ce7.tar.gz
SERVER-49053 remove makeStatusWith
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp')
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp b/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
index e7c7bcf4b1f..ab2fd584837 100644
--- a/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
@@ -922,7 +922,7 @@ void ReplicationCoordinatorImpl::_handleLivenessTimeout(
// Don't mind potential asynchronous stepdown as this is the last step of
// liveness check.
lk = _handleHeartbeatResponseAction_inlock(
- action, makeStatusWith<ReplSetHeartbeatResponse>(), std::move(lk));
+ action, StatusWith(ReplSetHeartbeatResponse()), std::move(lk));
_scheduleNextLivenessUpdate_inlock();
}