VS: remove unused argument from WriteProjectStart

This commit is contained in:
Cristiano Carvalheiro
2025-11-07 22:38:01 +00:00
parent 767946d1e3
commit 0ff69e0da2
2 changed files with 3 additions and 5 deletions

View File

@@ -1456,7 +1456,7 @@ void cmLocalVisualStudio7Generator::WriteVCProjFile(std::ostream& fout,
}
// open the project
this->WriteProjectStart(fout, libName, target, sourceGroups);
this->WriteProjectStart(fout, libName, target);
// write the configuration information
this->WriteConfigurations(fout, configs, libName, target);
@@ -2057,8 +2057,7 @@ void cmLocalVisualStudio7Generator::WriteProjectStartFortran(
}
void cmLocalVisualStudio7Generator::WriteProjectStart(
std::ostream& fout, std::string const& libName, cmGeneratorTarget* target,
std::vector<cmSourceGroup>&)
std::ostream& fout, std::string const& libName, cmGeneratorTarget* target)
{
if (this->FortranProject) {
this->WriteProjectStartFortran(fout, libName, target);

View File

@@ -130,8 +130,7 @@ private:
std::vector<std::string> const& dirs);
void WriteProjectSCC(std::ostream& fout, cmGeneratorTarget* target);
void WriteProjectStart(std::ostream& fout, std::string const& libName,
cmGeneratorTarget* tgt,
std::vector<cmSourceGroup>& sgs);
cmGeneratorTarget* target);
void WriteProjectStartFortran(std::ostream& fout, std::string const& libName,
cmGeneratorTarget* tgt);
void WriteVCProjBeginGroup(std::ostream& fout, char const* group,