mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 11:22:21 -06:00
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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user