Fix compile: set::erase() returns void prior to C++11.

pull/497/head
Alexander Gessler 2015-03-15 23:40:29 +01:00 committed by Alexander Gessler
parent 09c15331c4
commit 7ee5eaafc6
1 changed files with 1 additions and 1 deletions

View File

@ -1052,7 +1052,7 @@ aiNode* BlenderImporter::ConvertNode(const Scene& in, const Object* obj, Convers
if (object->parent == obj) { if (object->parent == obj) {
children.push_back(object); children.push_back(object);
it = conv_data.objects.erase(it); conv_data.objects.erase(it++);
continue; continue;
} }
++it; ++it;