mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 18:28:57 -06:00
cmMacroCommand: Extract iteration starting point.
This commit is contained in:
@@ -164,9 +164,10 @@ bool cmMacroHelperCommand::InvokeInitialPass
|
||||
{
|
||||
if (!argnDefInitialized)
|
||||
{
|
||||
std::vector<std::string>::const_iterator eit;
|
||||
std::vector<std::string>::const_iterator eit
|
||||
= expandedArgs.begin();
|
||||
std::vector<std::string>::size_type cnt = 0;
|
||||
for(eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit)
|
||||
for( ; eit != expandedArgs.end(); ++eit)
|
||||
{
|
||||
if ( cnt >= this->Args.size()-1 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user