CPack: Avoid member shadowing after API refactor (part2)

After converting method arguments to members we need to avoid use of the
same names as local variables and other method arguments. One more fix.
This commit is contained in:
Eric NOULARD 2010-08-12 20:18:46 +02:00
parent 31a313d470
commit bd510fe4ea
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ int cmCPackGenerator::InstallProjectViaInstalledDirectories(
"Cannot find any files in the installed directory" << std::endl);
return 0;
}
std::vector<std::string>& files = gl.GetFiles();
files = gl.GetFiles();
std::vector<std::string>::iterator gfit;
std::vector<cmsys::RegularExpression>::iterator regIt;
for ( gfit = files.begin(); gfit != files.end(); ++ gfit )