From 3929f2bf294f4cd60a2208a3324ec51916f885d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Wed, 1 May 2024 01:19:15 -0300 Subject: [PATCH] A tad faster. --- mrv2/lib/mrvGL/mrvGLViewport.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mrv2/lib/mrvGL/mrvGLViewport.cpp b/mrv2/lib/mrvGL/mrvGLViewport.cpp index a574c1707..66c3c7037 100644 --- a/mrv2/lib/mrvGL/mrvGLViewport.cpp +++ b/mrv2/lib/mrvGL/mrvGLViewport.cpp @@ -384,7 +384,8 @@ namespace mrv if (!player) return; - auto annotations = player->getAnnotations(p.ghostPrevious, p.ghostNext); + const auto& annotations = + player->getAnnotations(p.ghostPrevious, p.ghostNext); if (gl.buffer && gl.shader) {