Performance optimization.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-08-04 21:25:59 +03:00
parent 0a500c52dd
commit 0cea5c3347

View File

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