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/cmCursesFilePathWidget.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/cmCursesFilePathWidget.h')
-rw-r--r-- | Source/CursesDialog/cmCursesFilePathWidget.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/CursesDialog/cmCursesFilePathWidget.h b/Source/CursesDialog/cmCursesFilePathWidget.h index b4c04cb..6ad535b 100644 --- a/Source/CursesDialog/cmCursesFilePathWidget.h +++ b/Source/CursesDialog/cmCursesFilePathWidget.h @@ -3,18 +3,16 @@ #ifndef cmCursesFilePathWidget_h #define cmCursesFilePathWidget_h -#include "cmConfigure.h" // IWYU pragma: keep +#include "cmConfigure.h" #include "cmCursesPathWidget.h" class cmCursesFilePathWidget : public cmCursesPathWidget { + CM_DISABLE_COPY(cmCursesFilePathWidget) + public: cmCursesFilePathWidget(int width, int height, int left, int top); - -protected: - cmCursesFilePathWidget(const cmCursesFilePathWidget& from); - void operator=(const cmCursesFilePathWidget&); }; #endif // cmCursesFilePathWidget_h |