Performance optimization.
--HG-- branch : develop
This commit is contained in:
parent
0a500c52dd
commit
0cea5c3347
|
@ -304,11 +304,6 @@ void VContainer::ClearForFullParse()
|
||||||
*/
|
*/
|
||||||
void VContainer::ClearGObjects()
|
void VContainer::ClearGObjects()
|
||||||
{
|
{
|
||||||
QHash<quint32, QSharedPointer<VGObject> >::iterator i;
|
|
||||||
for (i = d->gObjects.begin(); i != d->gObjects.end(); ++i) //-V807
|
|
||||||
{
|
|
||||||
i.value().clear();
|
|
||||||
}
|
|
||||||
d->gObjects.clear();
|
d->gObjects.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user