summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalCodeWarriorGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalCodeWarriorGenerator.cxx')
-rw-r--r--Source/cmLocalCodeWarriorGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalCodeWarriorGenerator.cxx b/Source/cmLocalCodeWarriorGenerator.cxx
index 1b1fd74..08bc812 100644
--- a/Source/cmLocalCodeWarriorGenerator.cxx
+++ b/Source/cmLocalCodeWarriorGenerator.cxx
@@ -203,8 +203,8 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout,
}
}
- std::vector<std::string>& links = l->GetLinkDirectories();
- std::vector<std::string>::iterator j = links.begin();
+ const std::vector<std::string>& links = l->GetLinkDirectories();
+ std::vector<std::string>::const_iterator j = links.begin();
for(;j != links.end(); ++j)
{
fout << "<SETTING>\n";
@@ -521,7 +521,7 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout,
fout << "<SETTING><NAME>MWProject_MachO_outfile</NAME><VALUE>";
fout << m_TargetOutputFiles[std::string(tgtName)];
fout << "</VALUE></SETTING>\n";
- fout << "<SETTING><NAME>MWProject_MachO_filecreator</NAME><VALUE>????</VALUE></SETTING>\n";
+ fout << "<SETTING><NAME>MWProject_MachO_filecreator</NAME><VALUE>????" << "</VALUE></SETTING>\n";
fout << "<SETTING><NAME>MWProject_MachO_filetype</NAME><VALUE>";
fout << targetOutputType;
fout << "</VALUE></SETTING>\n";