diff --git a/src/Magnum/Trade/MeshData.cpp b/src/Magnum/Trade/MeshData.cpp index 0acefcd55..254629a30 100644 --- a/src/Magnum/Trade/MeshData.cpp +++ b/src/Magnum/Trade/MeshData.cpp @@ -394,7 +394,7 @@ Containers::StridedArrayView2D MeshData::mutableAttribute(MeshAttribute na return mutableAttribute(attributeId); } -void MeshData::indicesInto(const Containers::ArrayView destination) const { +void MeshData::indicesInto(const Containers::StridedArrayView1D destination) const { CORRADE_ASSERT(isIndexed(), "Trade::MeshData::indicesInto(): the mesh is not indexed", ); CORRADE_ASSERT(destination.size() == indexCount(), "Trade::MeshData::indicesInto(): expected a view with" << indexCount() << "elements but got" << destination.size(), ); diff --git a/src/Magnum/Trade/MeshData.h b/src/Magnum/Trade/MeshData.h index 0686ce71e..c92426629 100644 --- a/src/Magnum/Trade/MeshData.h +++ b/src/Magnum/Trade/MeshData.h @@ -1464,7 +1464,7 @@ class MAGNUM_TRADE_EXPORT MeshData { * sized to contain exactly all data. * @see @ref indexCount() */ - void indicesInto(Containers::ArrayView destination) const; + void indicesInto(Containers::StridedArrayView1D destination) const; /** * @brief Positions as 2D float vectors