diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-22 17:15:45 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-22 17:15:45 (GMT) |
commit | ef20a2a8a9bf810bce43f53a121ad2dd3fc6c9b8 (patch) | |
tree | 14c9b31d09ab1617099dcfc11a6efc00899989ba | |
parent | 8327883f3f87e03937e57da013b1681a3081c28a (diff) | |
download | CMake-ef20a2a8a9bf810bce43f53a121ad2dd3fc6c9b8.zip CMake-ef20a2a8a9bf810bce43f53a121ad2dd3fc6c9b8.tar.gz CMake-ef20a2a8a9bf810bce43f53a121ad2dd3fc6c9b8.tar.bz2 |
BUG: Fix copy/paste typo
-rw-r--r-- | Source/cmTarget.cxx | 6 |
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 += "."; |