summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2020-02-26 17:03:48 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-27 06:02:43 +0000
commit20657a8a6e9d2ed4df9fd8fa3f8c54d12907761f (patch)
tree74f1a8beaff9a55bedbc8923e1c3937e6c0692e1 /src/mongo
parenta5ec32526ad4528088b78bb30fbda08393863a69 (diff)
downloadmongo-20657a8a6e9d2ed4df9fd8fa3f8c54d12907761f.tar.gz
SERVER-45117 template AlarmState weak_ptr
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/executor/network_interface_tl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/executor/network_interface_tl.cpp b/src/mongo/executor/network_interface_tl.cpp
index c78b1602528..203ce0ce298 100644
--- a/src/mongo/executor/network_interface_tl.cpp
+++ b/src/mongo/executor/network_interface_tl.cpp
@@ -897,7 +897,7 @@ Status NetworkInterfaceTL::setAlarm(const TaskExecutor::CallbackHandle& cbHandle
auto alarmState =
std::make_shared<AlarmState>(when, cbHandle, _reactor->makeTimer(), std::move(pf.promise));
- auto weakAlarmState = std::weak_ptr(alarmState);
+ auto weakAlarmState = std::weak_ptr<AlarmState>(alarmState);
{
stdx::lock_guard<Latch> lk(_inProgressMutex);