clang-tidy: Use = delete

This commit is contained in:
Regina Pfeifer
2019-01-23 20:30:01 +01:00
committed by Brad King
parent d75fec5a88
commit b05b778a2d
58 changed files with 209 additions and 139 deletions
+3 -2
View File
@@ -20,11 +20,12 @@ class cmCursesMainForm;
class cmCursesStringWidget : public cmCursesWidget
{
CM_DISABLE_COPY(cmCursesStringWidget)
public:
cmCursesStringWidget(int width, int height, int left, int top);
cmCursesStringWidget(cmCursesStringWidget const&) = delete;
cmCursesStringWidget& operator=(cmCursesStringWidget const&) = delete;
/**
* Handle user input. Called by the container of this widget
* when this widget has focus. Returns true if the input was