summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/net/sock.h')
-rw-r--r--src/mongo/util/net/sock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/net/sock.h b/src/mongo/util/net/sock.h
index 071cd2a7ced..8079ab00acb 100644
--- a/src/mongo/util/net/sock.h
+++ b/src/mongo/util/net/sock.h
@@ -50,7 +50,6 @@
#include <utility>
#include <vector>
-#include "mongo/base/disallow_copying.h"
#include "mongo/config.h"
#include "mongo/logger/log_severity.h"
#include "mongo/platform/compiler.h"
@@ -83,7 +82,8 @@ typedef int SOCKET;
* todo: ssl
*/
class Socket {
- MONGO_DISALLOW_COPYING(Socket);
+ Socket(const Socket&) = delete;
+ Socket& operator=(const Socket&) = delete;
public:
static const int errorPollIntervalSecs;