diff options
Diffstat (limited to 'src/mongo/s/async_requests_sender.h')
-rw-r--r-- | src/mongo/s/async_requests_sender.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/async_requests_sender.h b/src/mongo/s/async_requests_sender.h index 4646d371db8..a9bdcc43cb0 100644 --- a/src/mongo/s/async_requests_sender.h +++ b/src/mongo/s/async_requests_sender.h @@ -227,15 +227,15 @@ private: explicit BatonDetacher(OperationContext* opCtx); ~BatonDetacher(); - transport::Baton& operator*() const { + Baton& operator*() const { return *_baton; } - transport::Baton* operator->() const noexcept { + Baton* operator->() const noexcept { return _baton.get(); } - operator transport::BatonHandle() const { + operator BatonHandle() const { return _baton; } @@ -244,7 +244,7 @@ private: } private: - transport::BatonHandle _baton; + BatonHandle _baton; }; /** |