diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-22 23:02:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-27 14:37:41 (GMT) |
commit | 7647f6afa46b6b5020cc1d93b3f75d3358a28f8a (patch) | |
tree | dfd7acf9932285277a56c39462d80d8fda0d8655 /Source/CTest/cmCTestGIT.cxx | |
parent | 5286110d6f106e03ee6c5bdeea48d62674656c9f (diff) | |
download | CMake-7647f6afa46b6b5020cc1d93b3f75d3358a28f8a.zip CMake-7647f6afa46b6b5020cc1d93b3f75d3358a28f8a.tar.gz CMake-7647f6afa46b6b5020cc1d93b3f75d3358a28f8a.tar.bz2 |
Add CM_OVERRIDE to some functions
Run clang-tidy's modernize-use-override checker. This checker must have
issues in version 3.8. It has way too little matches. And it adds
override to destructors. Revert the changes on the destructors and
change override to CM_OVERRIDE.
Diffstat (limited to 'Source/CTest/cmCTestGIT.cxx')
-rw-r--r-- | Source/CTest/cmCTestGIT.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestGIT.cxx b/Source/CTest/cmCTestGIT.cxx index 8b392f2..36a781e 100644 --- a/Source/CTest/cmCTestGIT.cxx +++ b/Source/CTest/cmCTestGIT.cxx @@ -52,7 +52,7 @@ public: private: std::string& Line1; - virtual bool ProcessLine() + bool ProcessLine() CM_OVERRIDE { // Only the first line is of interest. this->Line1 = this->Line; @@ -355,7 +355,7 @@ protected: this->Changes.clear(); } - virtual bool ProcessLine() + bool ProcessLine() CM_OVERRIDE { if (this->Line[0] == ':') { this->DiffField = DiffFieldChange; @@ -513,7 +513,7 @@ private: person.TimeZone = strtol(c, (char**)&c, 10); } - virtual bool ProcessLine() + bool ProcessLine() CM_OVERRIDE { if (this->Line.empty()) { if (this->Section == SectionBody && this->LineEnd == '\0') { |