summaryrefslogtreecommitdiff
path: root/src/mongo/util/producer_consumer_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/producer_consumer_queue.h')
-rw-r--r--src/mongo/util/producer_consumer_queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/producer_consumer_queue.h b/src/mongo/util/producer_consumer_queue.h
index 44576fd667d..626370489e4 100644
--- a/src/mongo/util/producer_consumer_queue.h
+++ b/src/mongo/util/producer_consumer_queue.h
@@ -814,7 +814,7 @@ private:
_checkProducerClosed(lk);
- const auto guard = MakeGuard([&] { _notifyIfNecessary(lk); });
+ const auto guard = makeGuard([&] { _notifyIfNecessary(lk); });
return cb(lk);
}
@@ -825,7 +825,7 @@ private:
_checkConsumerClosed(lk);
- const auto guard = MakeGuard([&] { _notifyIfNecessary(lk); });
+ const auto guard = makeGuard([&] { _notifyIfNecessary(lk); });
return cb(lk);
}