diff options
Diffstat (limited to 'src/mongo/transport/transport_layer_manager.h')
-rw-r--r-- | src/mongo/transport/transport_layer_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/transport/transport_layer_manager.h b/src/mongo/transport/transport_layer_manager.h index 60cfb58a41e..29ad6457be6 100644 --- a/src/mongo/transport/transport_layer_manager.h +++ b/src/mongo/transport/transport_layer_manager.h @@ -90,7 +90,7 @@ public: static std::unique_ptr<TransportLayer> makeAndStartDefaultEgressTransportLayer(); - BatonHandle makeBaton(OperationContext* opCtx) override { + BatonHandle makeBaton(OperationContext* opCtx) const override { stdx::lock_guard<stdx::mutex> lk(_tlsMutex); // TODO: figure out what to do about managers with more than one transport layer. invariant(_tls.size() == 1); |