mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmGeneratorTarget: use this-> for method calls
This commit is contained in:
@@ -9046,7 +9046,7 @@ std::string cmGeneratorTarget::GetImportedXcFrameworkPath(
|
|||||||
|
|
||||||
bool cmGeneratorTarget::HaveFortranSources(std::string const& config) const
|
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(),
|
return std::any_of(sources.begin(), sources.end(),
|
||||||
[](BT<cmSourceFile*> const& sf) -> bool {
|
[](BT<cmSourceFile*> const& sf) -> bool {
|
||||||
return sf.Value->GetLanguage() == "Fortran"_s;
|
return sf.Value->GetLanguage() == "Fortran"_s;
|
||||||
@@ -9124,7 +9124,7 @@ void cmGeneratorTarget::CheckCxxModuleStatus(std::string const& config) const
|
|||||||
|
|
||||||
if (!haveScannableSources) {
|
if (!haveScannableSources) {
|
||||||
// Check to see if there are regular sources that have requested scanning.
|
// 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) {
|
for (auto const& source : sources) {
|
||||||
auto const* sf = source.Value;
|
auto const* sf = source.Value;
|
||||||
auto const& lang = sf->GetLanguage();
|
auto const& lang = sf->GetLanguage();
|
||||||
|
|||||||
Reference in New Issue
Block a user