summaryrefslogtreecommitdiffstats
path: root/Source/cmStateDirectory.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-06 15:20:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-01-06 15:20:57 (GMT)
commit91f0f4aa73a78b00af9cdeb6fb7a5a4236fbad80 (patch)
treecfe228ccfd101f4171b44a5b922dd5157f26f596 /Source/cmStateDirectory.cxx
parentc1a7de72e1815cecf825d833161bc938afff65ee (diff)
parent209daa20b2bd2ee2a76e70af58e895647f7e284f (diff)
downloadCMake-91f0f4aa73a78b00af9cdeb6fb7a5a4236fbad80.zip
CMake-91f0f4aa73a78b00af9cdeb6fb7a5a4236fbad80.tar.gz
CMake-91f0f4aa73a78b00af9cdeb6fb7a5a4236fbad80.tar.bz2
Merge topic 'explicit-this-fix'
209daa20b2 Code style: add missed explicit 'this->' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5400
Diffstat (limited to 'Source/cmStateDirectory.cxx')
-rw-r--r--Source/cmStateDirectory.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmStateDirectory.cxx b/Source/cmStateDirectory.cxx
index 796bb1f..7ce362a 100644
--- a/Source/cmStateDirectory.cxx
+++ b/Source/cmStateDirectory.cxx
@@ -148,11 +148,13 @@ bool cmStateDirectory::ContainsBoth(std::string const& local_path,
cmSystemTools::IsSubDirectory(a, b));
};
- bool bothInBinary = PathEqOrSubDir(local_path, GetRelativePathTopBinary()) &&
- PathEqOrSubDir(remote_path, GetRelativePathTopBinary());
+ bool bothInBinary =
+ PathEqOrSubDir(local_path, this->GetRelativePathTopBinary()) &&
+ PathEqOrSubDir(remote_path, this->GetRelativePathTopBinary());
- bool bothInSource = PathEqOrSubDir(local_path, GetRelativePathTopSource()) &&
- PathEqOrSubDir(remote_path, GetRelativePathTopSource());
+ bool bothInSource =
+ PathEqOrSubDir(local_path, this->GetRelativePathTopSource()) &&
+ PathEqOrSubDir(remote_path, this->GetRelativePathTopSource());
return bothInBinary || bothInSource;
}