diff options
author | Brad King <brad.king@kitware.com> | 2017-04-25 13:35:44 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-04-25 13:36:01 (GMT) |
commit | 959ad1d5e8bbd07b4111630c347ca3d69353f48b (patch) | |
tree | b2a8fa47285598ec7e368a0a6b90d78df7c7d74b /Source/CursesDialog/cmCursesForm.h | |
parent | 31f7dc4b11f92467c19a14f1d424538977aad554 (diff) | |
parent | d6f0006c0b12c74df2d93170262a017f15949320 (diff) | |
download | CMake-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.h | 7 |
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; }; |