summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Wangensteen <george.wangensteen@mongodb.com>2023-05-16 17:13:31 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-16 19:39:54 +0000
commit256e1eada460330526f22fdf9bb4171c35f058a2 (patch)
tree46ca0d6ebb99f4ba944b55eb56fcde0fea8bcc46
parent744678da09dcab9885ae6af3e368864387fbfb82 (diff)
downloadmongo-256e1eada460330526f22fdf9bb4171c35f058a2.tar.gz
SERVER-69206 Remove use-after-move on ConnectionPool::Options in ConnectionPool constructor.
-rw-r--r--src/mongo/executor/connection_pool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/executor/connection_pool.cpp b/src/mongo/executor/connection_pool.cpp
index eab05b593eb..be3879a4926 100644
--- a/src/mongo/executor/connection_pool.cpp
+++ b/src/mongo/executor/connection_pool.cpp
@@ -556,7 +556,7 @@ ConnectionPool::ConnectionPool(std::shared_ptr<DependentTypeFactoryInterface> im
_factory(std::move(impl)),
_options(std::move(options)),
_controller(_options.controllerFactory()),
- _manager(options.egressTagCloserManager) {
+ _manager(_options.egressTagCloserManager) {
if (_manager) {
_manager->add(this);
}