summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesForm.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-23 20:50:47 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-24 20:03:06 (GMT)
commitd6f0006c0b12c74df2d93170262a017f15949320 (patch)
tree79e25c4662deb2b4875daca4bca61bc9e9cc4dbe /Source/CursesDialog/cmCursesForm.h
parent3cb7048b521395fdc863dacacb85c6f7f28a1bc7 (diff)
downloadCMake-d6f0006c0b12c74df2d93170262a017f15949320.zip
CMake-d6f0006c0b12c74df2d93170262a017f15949320.tar.gz
CMake-d6f0006c0b12c74df2d93170262a017f15949320.tar.bz2
Use CM_DISABLE_COPY
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;
};