diff options
Diffstat (limited to 'src/mongo/transport/session_asio.h')
-rw-r--r-- | src/mongo/transport/session_asio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/transport/session_asio.h b/src/mongo/transport/session_asio.h index b766b33a9e6..f2113dc29e5 100644 --- a/src/mongo/transport/session_asio.h +++ b/src/mongo/transport/session_asio.h @@ -74,7 +74,8 @@ Future<void> futurize(const std::error_code& ec) { using GenericSocket = asio::generic::stream_protocol::socket; class TransportLayerASIO::ASIOSession final : public Session { - MONGO_DISALLOW_COPYING(ASIOSession); + ASIOSession(const ASIOSession&) = delete; + ASIOSession& operator=(const ASIOSession&) = delete; public: // If the socket is disconnected while any of these options are being set, this constructor |