mark functions with CM_OVERRIDE

This commit is contained in:
Daniel Pfeifer
2016-06-27 21:25:27 +02:00
parent 9e2d6f0c4d
commit a7a9239096
216 changed files with 1124 additions and 1033 deletions
+3 -3
View File
@@ -32,14 +32,14 @@ public:
* when this widget has focus. Returns true if the input was
* handled.
*/
virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w) CM_OVERRIDE;
/**
* Set/Get the string.
*/
void SetString(const std::string& value);
const char* GetString();
virtual const char* GetValue();
const char* GetValue() CM_OVERRIDE;
/**
* Set/Get InEdit flag. Can be used to tell the widget to leave
@@ -61,7 +61,7 @@ public:
* in the toolbar and return true. Otherwise, return false
* and the parent widget will print.
*/
virtual bool PrintKeys();
bool PrintKeys() CM_OVERRIDE;
protected:
cmCursesStringWidget(const cmCursesStringWidget& from);