diff options
author | Eric NOULARD <eric.noulard@gmail.com> | 2010-08-12 18:18:46 (GMT) |
---|---|---|
committer | Eric NOULARD <eric.noulard@gmail.com> | 2010-08-12 18:18:46 (GMT) |
commit | bd510fe4ea43ed6adfb28dc830db4489b59ef2aa (patch) | |
tree | fa46424a8635e9dcec64441b57130ec4a9e440f6 /Source/CPack | |
parent | 31a313d47043923bc722554175912e75a03a13f6 (diff) | |
download | CMake-bd510fe4ea43ed6adfb28dc830db4489b59ef2aa.zip CMake-bd510fe4ea43ed6adfb28dc830db4489b59ef2aa.tar.gz CMake-bd510fe4ea43ed6adfb28dc830db4489b59ef2aa.tar.bz2 |
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.
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index 37b8d5a..4ae2d1f 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -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 ) |