summaryrefslogtreecommitdiff
path: root/src/mongo/rpc/metadata/client_metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/rpc/metadata/client_metadata.h')
-rw-r--r--src/mongo/rpc/metadata/client_metadata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/rpc/metadata/client_metadata.h b/src/mongo/rpc/metadata/client_metadata.h
index c0efab46319..eb467caab6a 100644
--- a/src/mongo/rpc/metadata/client_metadata.h
+++ b/src/mongo/rpc/metadata/client_metadata.h
@@ -31,7 +31,6 @@
#include <string>
-#include "mongo/base/disallow_copying.h"
#include "mongo/base/status.h"
#include "mongo/base/status_with.h"
#include "mongo/base/string_data.h"
@@ -84,7 +83,8 @@ constexpr auto kMetadataDocumentName = "client"_sd;
* See Driver Specification: "MongoDB Handshake" for more information.
*/
class ClientMetadata {
- MONGO_DISALLOW_COPYING(ClientMetadata);
+ ClientMetadata(const ClientMetadata&) = delete;
+ ClientMetadata& operator=(const ClientMetadata&) = delete;
public:
ClientMetadata(ClientMetadata&&) = default;