BUG: clean up scoping
This commit is contained in:
parent
435f4ad8b0
commit
fb6d598813
@ -136,10 +136,12 @@ bool cmIfCommand::InvokeInitialPass(const std::vector<cmListFileArgument>& args)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void IncrementArguments(std::list<std::string> &newArgs,
|
namespace
|
||||||
|
{
|
||||||
|
void IncrementArguments(std::list<std::string> &newArgs,
|
||||||
std::list<std::string>::iterator &argP1,
|
std::list<std::string>::iterator &argP1,
|
||||||
std::list<std::string>::iterator &argP2)
|
std::list<std::string>::iterator &argP2)
|
||||||
{
|
{
|
||||||
if (argP1 != newArgs.end())
|
if (argP1 != newArgs.end())
|
||||||
{
|
{
|
||||||
argP1++;
|
argP1++;
|
||||||
@ -149,6 +151,7 @@ void IncrementArguments(std::list<std::string> &newArgs,
|
|||||||
argP2++;
|
argP2++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user