summaryrefslogtreecommitdiff
path: root/Source/cmConnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmConnection.h')
-rw-r--r--Source/cmConnection.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmConnection.h b/Source/cmConnection.h
index ce2d2dc2a..092b91302 100644
--- a/Source/cmConnection.h
+++ b/Source/cmConnection.h
@@ -60,10 +60,11 @@ public:
class cmConnection
{
- CM_DISABLE_COPY(cmConnection)
-
public:
- cmConnection() {}
+ cmConnection() = default;
+
+ cmConnection(cmConnection const&) = delete;
+ cmConnection& operator=(cmConnection const&) = delete;
virtual void WriteData(const std::string& data) = 0;