diff options
author | Reo Kimura <reo.kimura@mongodb.com> | 2020-07-22 03:03:43 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-14 18:57:06 +0000 |
commit | 97e16187ff3065d242a61a52e7b6edd4d439fb30 (patch) | |
tree | a7c528e43c3f3fef4116fadafb3384cccff8c04c /src/mongo/db/service_context.cpp | |
parent | a629d56622ffb64025150fc674212267d2b5cf84 (diff) | |
download | mongo-97e16187ff3065d242a61a52e7b6edd4d439fb30.tar.gz |
SERVER-49072 Make ServiceExecutors into Decorations
Diffstat (limited to 'src/mongo/db/service_context.cpp')
-rw-r--r-- | src/mongo/db/service_context.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/service_context.cpp b/src/mongo/db/service_context.cpp index 4e01b46c3b4..1b8628ff1dd 100644 --- a/src/mongo/db/service_context.cpp +++ b/src/mongo/db/service_context.cpp @@ -193,10 +193,6 @@ ServiceEntryPoint* ServiceContext::getServiceEntryPoint() const { return _serviceEntryPoint.get(); } -transport::ServiceExecutor* ServiceContext::getServiceExecutor() const { - return _serviceExecutor.get(); -} - void ServiceContext::setStorageEngine(std::unique_ptr<StorageEngine> engine) { invariant(engine); invariant(!_storageEngine); @@ -227,10 +223,6 @@ void ServiceContext::setTransportLayer(std::unique_ptr<transport::TransportLayer _transportLayer = std::move(tl); } -void ServiceContext::setServiceExecutor(std::unique_ptr<transport::ServiceExecutor> exec) { - _serviceExecutor = std::move(exec); -} - void ServiceContext::ClientDeleter::operator()(Client* client) const { ServiceContext* const service = client->getServiceContext(); { |