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
+2 -3
View File
@@ -1456,7 +1456,7 @@ void cmLocalVisualStudio7Generator::WriteVCProjFile(std::ostream& fout,
} }
// open the project // open the project
this->WriteProjectStart(fout, libName, target, sourceGroups); this->WriteProjectStart(fout, libName, target);
// write the configuration information // write the configuration information
this->WriteConfigurations(fout, configs, libName, target); this->WriteConfigurations(fout, configs, libName, target);
@@ -2057,8 +2057,7 @@ void cmLocalVisualStudio7Generator::WriteProjectStartFortran(
} }
void cmLocalVisualStudio7Generator::WriteProjectStart( void cmLocalVisualStudio7Generator::WriteProjectStart(
std::ostream& fout, std::string const& libName, cmGeneratorTarget* target, std::ostream& fout, std::string const& libName, cmGeneratorTarget* target)
std::vector<cmSourceGroup>&)
{ {
if (this->FortranProject) { if (this->FortranProject) {
this->WriteProjectStartFortran(fout, libName, target); this->WriteProjectStartFortran(fout, libName, target);
+1 -2
View File
@@ -130,8 +130,7 @@ private:
std::vector<std::string> const& dirs); std::vector<std::string> const& dirs);
void WriteProjectSCC(std::ostream& fout, cmGeneratorTarget* target); void WriteProjectSCC(std::ostream& fout, cmGeneratorTarget* target);
void WriteProjectStart(std::ostream& fout, std::string const& libName, void WriteProjectStart(std::ostream& fout, std::string const& libName,
cmGeneratorTarget* tgt, cmGeneratorTarget* target);
std::vector<cmSourceGroup>& sgs);
void WriteProjectStartFortran(std::ostream& fout, std::string const& libName, void WriteProjectStartFortran(std::ostream& fout, std::string const& libName,
cmGeneratorTarget* tgt); cmGeneratorTarget* tgt);
void WriteVCProjBeginGroup(std::ostream& fout, char const* group, void WriteVCProjBeginGroup(std::ostream& fout, char const* group,