diff --git a/src/MeshTools/Clean.h b/src/MeshTools/Clean.h index 837a47b10..9093995f0 100644 --- a/src/MeshTools/Clean.h +++ b/src/MeshTools/Clean.h @@ -66,8 +66,10 @@ template class Clean { and index of vertex in the face. */ std::unordered_map, HashedVertex, IndexHash> table; + #ifndef MAGNUM_GCC44_COMPATIBILITY /* Reserve space for all vertices */ table.reserve(vertices.size()); + #endif /* Go through all faces' vertices */ for(auto it = indices.begin(); it != indices.end(); ++it) {