From 502572cc92d54a0e22b1b534474a52b8f12df71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 16 Jul 2026 01:15:35 +0200 Subject: [PATCH] GL: this unused template warning had a point, though. A helper that was in this test code since 2015, likely unused for a very long time. --- src/Magnum/GL/Test/CubeMapTextureGLTest.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Magnum/GL/Test/CubeMapTextureGLTest.cpp b/src/Magnum/GL/Test/CubeMapTextureGLTest.cpp index 17ee75d99..53810b5df 100644 --- a/src/Magnum/GL/Test/CubeMapTextureGLTest.cpp +++ b/src/Magnum/GL/Test/CubeMapTextureGLTest.cpp @@ -492,11 +492,6 @@ CubeMapTextureGLTest::CubeMapTextureGLTest() { using namespace Containers::Literals; #endif -template Containers::ArrayView unsafeSuffix(const T(&data)[size], std::size_t offset) { - static_assert(sizeof(T) == 1, ""); - return {data - offset, size + offset}; -} - #ifndef MAGNUM_TARGET_GLES void CubeMapTextureGLTest::compressedBlockSize() { /* For uncompressed formats returns zero */