From 073ef55f0885a07160dc0e0a8017e55c1320f858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 18 Jan 2022 19:17:00 +0100 Subject: [PATCH] MeshTools: don't put const on arguments in functions defined in headers. Doxygen takes that literally and shows that in the output. Useless noise. --- src/Magnum/MeshTools/Concatenate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/MeshTools/Concatenate.h b/src/Magnum/MeshTools/Concatenate.h index af8167311..d0807adeb 100644 --- a/src/Magnum/MeshTools/Concatenate.h +++ b/src/Magnum/MeshTools/Concatenate.h @@ -97,7 +97,7 @@ atttribute data array instead of always allocating new ones. Only the attribute layout from @p destination is used, all vertex/index data are taken from @p meshes. Expects that @p meshes contains at least one item. */ -template class Allocator = Containers::ArrayAllocator> void concatenateInto(Trade::MeshData& destination, const Containers::ArrayView> meshes) { +template class Allocator = Containers::ArrayAllocator> void concatenateInto(Trade::MeshData& destination, Containers::ArrayView> meshes) { CORRADE_ASSERT(!meshes.empty(), "MeshTools::concatenateInto(): no meshes passed", ); #ifndef CORRADE_NO_ASSERT @@ -137,7 +137,7 @@ template class Allocator = Containers::ArrayAllocator> void conc * @overload * @m_since{2020,06} */ -template class Allocator = Containers::ArrayAllocator> void concatenateInto(Trade::MeshData& destination, const std::initializer_list> meshes) { +template class Allocator = Containers::ArrayAllocator> void concatenateInto(Trade::MeshData& destination, std::initializer_list> meshes) { concatenateInto(destination, Containers::arrayView(meshes)); }