diff options
Diffstat (limited to 'Source/cmConnection.h')
-rw-r--r-- | Source/cmConnection.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmConnection.h b/Source/cmConnection.h index ce2d2dc2aa..092b91302c 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; |