cmMacroCommand: Extract iteration starting point.
This commit is contained in:
parent
9fe8f49353
commit
f95543f8a6
|
@ -164,9 +164,10 @@ bool cmMacroHelperCommand::InvokeInitialPass
|
||||||
{
|
{
|
||||||
if (!argnDefInitialized)
|
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;
|
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 )
|
if ( cnt >= this->Args.size()-1 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue