diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-23 20:50:47 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-24 20:03:06 (GMT) |
commit | d6f0006c0b12c74df2d93170262a017f15949320 (patch) | |
tree | 79e25c4662deb2b4875daca4bca61bc9e9cc4dbe /Source/CursesDialog/cmCursesMainForm.h | |
parent | 3cb7048b521395fdc863dacacb85c6f7f28a1bc7 (diff) | |
download | CMake-d6f0006c0b12c74df2d93170262a017f15949320.zip CMake-d6f0006c0b12c74df2d93170262a017f15949320.tar.gz CMake-d6f0006c0b12c74df2d93170262a017f15949320.tar.bz2 |
Use CM_DISABLE_COPY
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.h')
-rw-r--r-- | Source/CursesDialog/cmCursesMainForm.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.h b/Source/CursesDialog/cmCursesMainForm.h index b91211e..e35cf3e 100644 --- a/Source/CursesDialog/cmCursesMainForm.h +++ b/Source/CursesDialog/cmCursesMainForm.h @@ -23,6 +23,8 @@ class cmake; */ class cmCursesMainForm : public cmCursesForm { + CM_DISABLE_COPY(cmCursesMainForm) + public: cmCursesMainForm(std::vector<std::string> const& args, int initwidth); ~cmCursesMainForm() CM_OVERRIDE; @@ -103,9 +105,6 @@ public: static void UpdateProgress(const char* msg, float prog, void*); protected: - cmCursesMainForm(const cmCursesMainForm& from); - void operator=(const cmCursesMainForm&); - // Copy the cache values from the user interface to the actual // cache. void FillCacheManagerFromUI(); |