Browse Source

MeshTools: don't put const on arguments in functions defined in headers.

Doxygen takes that literally and shows that in the output. Useless
noise.
pull/547/head
Vladimír Vondruš 4 years ago
parent
commit
073ef55f08
  1. 4
      src/Magnum/MeshTools/Concatenate.h

4
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<template<class> class Allocator = Containers::ArrayAllocator> void concatenateInto(Trade::MeshData& destination, const Containers::ArrayView<const Containers::Reference<const Trade::MeshData>> meshes) {
template<template<class> class Allocator = Containers::ArrayAllocator> void concatenateInto(Trade::MeshData& destination, Containers::ArrayView<const Containers::Reference<const Trade::MeshData>> meshes) {
CORRADE_ASSERT(!meshes.empty(),
"MeshTools::concatenateInto(): no meshes passed", );
#ifndef CORRADE_NO_ASSERT
@ -137,7 +137,7 @@ template<template<class> class Allocator = Containers::ArrayAllocator> void conc
* @overload
* @m_since{2020,06}
*/
template<template<class> class Allocator = Containers::ArrayAllocator> void concatenateInto(Trade::MeshData& destination, const std::initializer_list<Containers::Reference<const Trade::MeshData>> meshes) {
template<template<class> class Allocator = Containers::ArrayAllocator> void concatenateInto(Trade::MeshData& destination, std::initializer_list<Containers::Reference<const Trade::MeshData>> meshes) {
concatenateInto<Allocator>(destination, Containers::arrayView(meshes));
}

Loading…
Cancel
Save