Convert while loop to member insert.

This commit is contained in:
Stephen Kelly 2015-01-24 18:18:56 +01:00
parent a7fcc148bd
commit 39622c995c
1 changed files with 1 additions and 5 deletions

View File

@ -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);