summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-09-28 20:09:17 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-10-02 14:17:31 (GMT)
commit068fde1c348459ca41cdd6c21d782ba1491746c4 (patch)
tree71f529fe93e33fcb87375b451796c74c558301c6
parent197a6bf1714267ad536f27fef5a24cbe6fd3fcff (diff)
downloadCMake-068fde1c348459ca41cdd6c21d782ba1491746c4.zip
CMake-068fde1c348459ca41cdd6c21d782ba1491746c4.tar.gz
CMake-068fde1c348459ca41cdd6c21d782ba1491746c4.tar.bz2
cmGeneratorTarget: use `this->` for method calls
-rw-r--r--Source/cmGeneratorTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 93946aa..22092b1 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -9046,7 +9046,7 @@ std::string cmGeneratorTarget::GetImportedXcFrameworkPath(
bool cmGeneratorTarget::HaveFortranSources(std::string const& config) const
{
- auto sources = cmGeneratorTarget::GetSourceFiles(config);
+ auto sources = this->GetSourceFiles(config);
return std::any_of(sources.begin(), sources.end(),
[](BT<cmSourceFile*> const& sf) -> bool {
return sf.Value->GetLanguage() == "Fortran"_s;
@@ -9124,7 +9124,7 @@ void cmGeneratorTarget::CheckCxxModuleStatus(std::string const& config) const
if (!haveScannableSources) {
// Check to see if there are regular sources that have requested scanning.
- auto sources = cmGeneratorTarget::GetSourceFiles(config);
+ auto sources = this->GetSourceFiles(config);
for (auto const& source : sources) {
auto const* sf = source.Value;
auto const& lang = sf->GetLanguage();