Browse Source

MeshTools: hello, GCC 4.8, HAPPY FRIDAY TO YOU TOO

pull/547/head
Vladimír Vondruš 4 years ago
parent
commit
5c2ccc44ad
  1. 6
      src/Magnum/MeshTools/Test/FilterAttributesTest.cpp

6
src/Magnum/MeshTools/Test/FilterAttributesTest.cpp

@ -260,7 +260,8 @@ void FilterAttributesTest::filterOnlyAttributeIdsOutOfBounds() {
CORRADE_SKIP("CORRADE_NO_ASSERT defined, can't test assertions");
#endif
Vertex vertices[3]{};
/* GCC 4.8 dies if I try to initialize this with a {}. I won't, then. */
Vertex vertices[3];
Trade::MeshData mesh{MeshPrimitive::TriangleFan,
{}, vertices, {
@ -494,7 +495,8 @@ void FilterAttributesTest::filterExceptAttributeIdsOutOfBounds() {
CORRADE_SKIP("CORRADE_NO_ASSERT defined, can't test assertions");
#endif
Vertex vertices[3]{};
/* GCC 4.8 dies if I try to initialize this with a {}. I won't, then. */
Vertex vertices[3];
Trade::MeshData mesh{MeshPrimitive::TriangleFan,
{}, vertices, {

Loading…
Cancel
Save