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:
parent
31a313d470
commit
bd510fe4ea
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue