From ad46c80f7a65333600610bbbef49d2644c9f7a48 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 28 Jul 2005 15:24:31 -0400 Subject: ENH: fix warning --- Source/cmLocalUnixMakefileGenerator3.cxx | 6 +++--- Source/cmLocalUnixMakefileGenerator3.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 1ccb61c..0918ff9 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -144,7 +144,7 @@ void cmLocalUnixMakefileGenerator3::FormatOutputPath(std::string& path, void cmLocalUnixMakefileGenerator3 -::WriteCustomCommands(cmTarget &target,std::ostream& ruleFileStream, +::WriteCustomCommands(std::ostream& ruleFileStream, std::vector& cleanFiles) { // add custom commands to the clean rules? @@ -358,7 +358,7 @@ cmLocalUnixMakefileGenerator3 { cmSystemTools::ExpandListArgument(additional_clean_files, cleanFiles); } - this->WriteCustomCommands(target,ruleFileStream,cleanFiles); + this->WriteCustomCommands(ruleFileStream,cleanFiles); // Include the rule file for each object. std::string relPath = this->GetHomeRelativeOutputPath(); @@ -679,7 +679,7 @@ cmLocalUnixMakefileGenerator3 { cmSystemTools::ExpandListArgument(additional_clean_files, cleanFiles); } - this->WriteCustomCommands(target,ruleFileStream, cleanFiles); + this->WriteCustomCommands(ruleFileStream, cleanFiles); // Collect the commands and dependencies. std::vector commands; diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h index b1216a1..c77410f 100644 --- a/Source/cmLocalUnixMakefileGenerator3.h +++ b/Source/cmLocalUnixMakefileGenerator3.h @@ -181,7 +181,7 @@ protected: // this is responsible for writing all of the rules for all this // directories custom commands (but not utility targets) - void WriteCustomCommands(cmTarget &target,std::ostream& os, + void WriteCustomCommands(std::ostream& os, std::vector& cleanFiles); // this method Writes the Directory informaiton files -- cgit v0.12