mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05: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:
@@ -27,7 +27,7 @@ cmInstallDirectoryGenerator::cmInstallDirectoryGenerator(
|
||||
, Optional(optional)
|
||||
{
|
||||
// We need per-config actions if destination have generator expressions.
|
||||
if (cmGeneratorExpression::Find(Destination) != std::string::npos) {
|
||||
if (cmGeneratorExpression::Find(this->Destination) != std::string::npos) {
|
||||
this->ActionsPerConfig = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user