summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-09-23 10:32:15 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-09-23 10:32:45 -0400
commit7cd1ff301f9190f893b79007878baaa6b281f21c (patch)
treebbf4e58c5a53431e05f83691ef4706d243786c17 /src
parent8b64a10e341668dc6f8762c9c24977577e922398 (diff)
downloadmongo-7cd1ff301f9190f893b79007878baaa6b281f21c.tar.gz
SERVER-30471 Fix broken lint rule
Diffstat (limited to 'src')
-rw-r--r--src/mongo/transport/service_entry_point_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/transport/service_entry_point_impl.cpp b/src/mongo/transport/service_entry_point_impl.cpp
index 8c0dffb4138..1716e69e18e 100644
--- a/src/mongo/transport/service_entry_point_impl.cpp
+++ b/src/mongo/transport/service_entry_point_impl.cpp
@@ -157,7 +157,7 @@ bool ServiceEntryPointImpl::shutdown(Milliseconds timeout) {
const auto checkInterval = std::min(Milliseconds(250), timeout);
auto noWorkersLeft = [this] { return numOpenSessions() == 0; };
- std::unique_lock<decltype(_sessionsMutex)> lk(_sessionsMutex);
+ stdx::unique_lock<decltype(_sessionsMutex)> lk(_sessionsMutex);
while (timeSpent < timeout &&
!_shutdownCondition.wait_for(lk, checkInterval.toSystemDuration(), noWorkersLeft)) {
log(LogComponent::kNetwork) << "shutdown: still waiting on " << numOpenSessions()