mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Code style: add missed explicit 'this->'
CMake uses explicit 'this->' style. Using custom clang-tidy check we can detect and fix places where 'this->' was missed.
This commit is contained in:
@@ -26,7 +26,7 @@ public:
|
||||
}
|
||||
void Clear() { this->IsValueSet = false; }
|
||||
bool IsSet() const { return this->IsValueSet; }
|
||||
T Get() const { return Value; }
|
||||
T Get() const { return this->Value; }
|
||||
|
||||
private:
|
||||
T Value;
|
||||
|
||||
Reference in New Issue
Block a user