diff --git a/src/Magnum/Trade/Test/MeshDataTest.cpp b/src/Magnum/Trade/Test/MeshDataTest.cpp index 4917faea0..60745274a 100644 --- a/src/Magnum/Trade/Test/MeshDataTest.cpp +++ b/src/Magnum/Trade/Test/MeshDataTest.cpp @@ -1471,8 +1471,8 @@ void MeshDataTest::construct() { CORRADE_COMPARE(data.mutableAttribute(MeshAttribute::TextureCoordinates, 0)[0], (Vector2{0.000f, 0.125f})); CORRADE_COMPARE(data.mutableAttribute(MeshAttribute::TextureCoordinates, 1)[1], (Vector2{0.250f, 0.375f})); /* Array */ - CORRADE_COMPARE(data.attribute(meshAttributeCustom(13))[2][0], 22); - CORRADE_COMPARE(data.attribute(meshAttributeCustom(13))[2][1], -1); + CORRADE_COMPARE(data.mutableAttribute(meshAttributeCustom(13))[2][0], 22); + CORRADE_COMPARE(data.mutableAttribute(meshAttributeCustom(13))[2][1], -1); } }