From 3d55698cea2dacd6f55be6d496537cd4ef554551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 8 Jul 2025 16:37:07 +0200 Subject: [PATCH] GL: exclude debug enum printer values from coverage. --- src/Magnum/GL/Buffer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Magnum/GL/Buffer.cpp b/src/Magnum/GL/Buffer.cpp index 8de6dfca1..413fda3b4 100644 --- a/src/Magnum/GL/Buffer.cpp +++ b/src/Magnum/GL/Buffer.cpp @@ -732,6 +732,7 @@ Debug& operator<<(Debug& debug, const Buffer::Target value) { debug << "GL::Buffer::Target" << Debug::nospace; switch(value) { + /* LCOV_EXCL_START */ #define _c(value) case Buffer::Target::value: return debug << "::" #value; #ifndef MAGNUM_TARGET_WEBGL _c(AtomicCounter) @@ -739,6 +740,7 @@ Debug& operator<<(Debug& debug, const Buffer::Target value) { #endif _c(Uniform) #undef _c + /* LCOV_EXCL_STOP */ } return debug << "(" << Debug::nospace << Debug::hex << GLenum(value) << Debug::nospace << ")";