From 7ee5eaafc60b78584ee4c7c8f283671b2d6b0f17 Mon Sep 17 00:00:00 2001 From: Alexander Gessler Date: Sun, 15 Mar 2015 23:40:29 +0100 Subject: [PATCH] Fix compile: set::erase() returns void prior to C++11. --- code/BlenderLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/BlenderLoader.cpp b/code/BlenderLoader.cpp index 80a5a0187..c9419b400 100644 --- a/code/BlenderLoader.cpp +++ b/code/BlenderLoader.cpp @@ -1052,7 +1052,7 @@ aiNode* BlenderImporter::ConvertNode(const Scene& in, const Object* obj, Convers if (object->parent == obj) { children.push_back(object); - it = conv_data.objects.erase(it); + conv_data.objects.erase(it++); continue; } ++it;