fix inefficient check for 'mNodeElement_List' emptiness
parent
0d17315166
commit
ebb061d89c
|
@ -83,7 +83,7 @@ void AMFImporter::Clear()
|
||||||
mMaterial_Converted.clear();
|
mMaterial_Converted.clear();
|
||||||
mTexture_Converted.clear();
|
mTexture_Converted.clear();
|
||||||
// Delete all elements
|
// Delete all elements
|
||||||
if(mNodeElement_List.size())
|
if(!mNodeElement_List.empty())
|
||||||
{
|
{
|
||||||
for(CAMFImporter_NodeElement* ne: mNodeElement_List) { delete ne; }
|
for(CAMFImporter_NodeElement* ne: mNodeElement_List) { delete ne; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue