Convert while loop to member insert.
This commit is contained in:
parent
a7fcc148bd
commit
39622c995c
|
@ -435,11 +435,7 @@ bool cmAddLibraryCommand
|
||||||
cmSystemTools::Message(msg.c_str() ,"Warning");
|
cmSystemTools::Message(msg.c_str() ,"Warning");
|
||||||
}
|
}
|
||||||
|
|
||||||
while (s != args.end())
|
srclists.insert(srclists.end(), s, args.end());
|
||||||
{
|
|
||||||
srclists.push_back(*s);
|
|
||||||
++s;
|
|
||||||
}
|
|
||||||
|
|
||||||
this->Makefile->AddLibrary(libName, type, srclists, excludeFromAll);
|
this->Makefile->AddLibrary(libName, type, srclists, excludeFromAll);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue