summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-22 17:15:45 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-22 17:15:45 (GMT)
commitef20a2a8a9bf810bce43f53a121ad2dd3fc6c9b8 (patch)
tree14c9b31d09ab1617099dcfc11a6efc00899989ba
parent8327883f3f87e03937e57da013b1681a3081c28a (diff)
downloadCMake-ef20a2a8a9bf810bce43f53a121ad2dd3fc6c9b8.zip
CMake-ef20a2a8a9bf810bce43f53a121ad2dd3fc6c9b8.tar.gz
CMake-ef20a2a8a9bf810bce43f53a121ad2dd3fc6c9b8.tar.bz2
BUG: Fix copy/paste typo
-rw-r--r--Source/cmTarget.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 08e2a4f..be08f65 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -48,7 +48,7 @@ void cmTarget::TraceVSDependencies(std::string projFile,
for(std::vector<cmSourceFile*>::const_iterator i = classes.begin();
i != classes.end(); ++i)
{
- std::string name = (*i)->GetSourceName();
+ name = (*i)->GetSourceName();
if ((*i)->GetSourceExtension() != "rule")
{
name += ".";
@@ -72,7 +72,7 @@ void cmTarget::TraceVSDependencies(std::string projFile,
i != c.GetDepends().end(); ++i)
{
srcFilesToProcess.push(*i);
- srcFilesQueued.insert(name);
+ srcFilesQueued.insert(*i);
}
}
}
@@ -88,7 +88,7 @@ void cmTarget::TraceVSDependencies(std::string projFile,
{
// then add the source to this target and add it to the queue
classes.push_back(outsf);
- std::string name = outsf->GetSourceName();
+ name = outsf->GetSourceName();
if (outsf->GetSourceExtension() != "rule")
{
name += ".";