diff --git a/doc/snippets/Text.cpp b/doc/snippets/Text.cpp index aacbcf411..191d1fdc9 100644 --- a/doc/snippets/Text.cpp +++ b/doc/snippets/Text.cpp @@ -508,7 +508,7 @@ Text::RendererCore renderer{cache, Containers::StridedArrayView1D& glyphAdvances ) { Containers::ArrayView glyphs = *static_cast(state); - CORRADE_INTERNAL_ASSERT(glyphCount <= glyphs.size());DOXYGEN_IGNORE(static_cast(glyphCount)); + CORRADE_INTERNAL_ASSERT(glyphCount <= glyphs.size());DOXYGEN_IGNORE(static_cast(glyphCount);) glyphPositions = stridedArrayView(glyphs).slice(&Glyph::position); glyphIds = stridedArrayView(glyphs).slice(&Glyph::id); glyphAdvances = stridedArrayView(glyphs).slice(&Glyph::advance); @@ -518,7 +518,7 @@ Text::RendererCore renderer{cache, Containers::StridedArrayView1D& runEnds ) { Containers::ArrayView runs = *static_cast(state); - CORRADE_INTERNAL_ASSERT(runCount <= runs.size());DOXYGEN_IGNORE(static_cast(runCount)); + CORRADE_INTERNAL_ASSERT(runCount <= runs.size());DOXYGEN_IGNORE(static_cast(runCount);) runScales = Containers::stridedArrayView(runs).slice(&Run::scale); runEnds = Containers::stridedArrayView(runs).slice(&Run::end); }, runs