From 645ddd86781786760f1956edcc2b3761400202d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 30 Oct 2024 11:05:10 +0100 Subject: [PATCH] Text: lol @ this TODO. This is all going to get deprecated. Using a string view wouldn't help, the rest is still too shitty. --- src/Magnum/Text/Renderer.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Magnum/Text/Renderer.cpp b/src/Magnum/Text/Renderer.cpp index 7392030ba..532ba678a 100644 --- a/src/Magnum/Text/Renderer.cpp +++ b/src/Magnum/Text/Renderer.cpp @@ -382,10 +382,6 @@ std::tuple, Range2D> renderVerticesInternal(AbstractFont& fo Vector2 linePosition; /* Temp buffer so we don't allocate for each new line */ - /** - * @todo C++1z: use std::string_view to avoid the one allocation and all - * the copying altogether - */ std::string line; line.reserve(text.size());