summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesForm.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-25 13:35:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-04-25 13:36:01 (GMT)
commit959ad1d5e8bbd07b4111630c347ca3d69353f48b (patch)
treeb2a8fa47285598ec7e368a0a6b90d78df7c7d74b /Source/CursesDialog/cmCursesForm.h
parent31f7dc4b11f92467c19a14f1d424538977aad554 (diff)
parentd6f0006c0b12c74df2d93170262a017f15949320 (diff)
downloadCMake-959ad1d5e8bbd07b4111630c347ca3d69353f48b.zip
CMake-959ad1d5e8bbd07b4111630c347ca3d69353f48b.tar.gz
CMake-959ad1d5e8bbd07b4111630c347ca3d69353f48b.tar.bz2
Merge topic 'use-disable-copy'
d6f0006c Use CM_DISABLE_COPY Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !754
Diffstat (limited to 'Source/CursesDialog/cmCursesForm.h')
-rw-r--r--Source/CursesDialog/cmCursesForm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/CursesDialog/cmCursesForm.h b/Source/CursesDialog/cmCursesForm.h
index 7eb94a8..553105c 100644
--- a/Source/CursesDialog/cmCursesForm.h
+++ b/Source/CursesDialog/cmCursesForm.h
@@ -3,7 +3,7 @@
#ifndef cmCursesForm_h
#define cmCursesForm_h
-#include "cmConfigure.h" // IWYU pragma: keep
+#include "cmConfigure.h"
#include "cmCursesStandardIncludes.h"
@@ -11,6 +11,8 @@
class cmCursesForm
{
+ CM_DISABLE_COPY(cmCursesForm)
+
public:
cmCursesForm();
virtual ~cmCursesForm();
@@ -55,9 +57,6 @@ protected:
static cmsys::ofstream DebugFile;
static bool Debug;
- cmCursesForm(const cmCursesForm& form);
- void operator=(const cmCursesForm&);
-
FORM* Form;
};