diff options
Diffstat (limited to 'Source/cmLoadCacheCommand.cxx')
-rw-r--r-- | Source/cmLoadCacheCommand.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLoadCacheCommand.cxx b/Source/cmLoadCacheCommand.cxx index 93afbd6..e1445a9 100644 --- a/Source/cmLoadCacheCommand.cxx +++ b/Source/cmLoadCacheCommand.cxx @@ -17,12 +17,13 @@ // cmLoadcacheCommand -bool cmLoadCacheCommand::InitialPass(std::vector<std::string>& args) +bool cmLoadCacheCommand::InitialPass(std::vector<std::string> const& argsIn) { - if (args.size()< 1) + if (argsIn.size()< 1) { this->SetError("called with wrong number of arguments."); } + std::vector<std::string> args = argsIn; // Cache entries to be excluded from the import list. // If this set is empty, all cache entries are brought in |