From d591c8d003ec8f3590e92819c459ad18f3023a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 12 Feb 2021 17:04:16 +0100 Subject: [PATCH] ShaderTools: GCC 4.8, come on, it's Friday. --- src/Magnum/ShaderTools/Test/SpirvTest.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Magnum/ShaderTools/Test/SpirvTest.cpp b/src/Magnum/ShaderTools/Test/SpirvTest.cpp index d2eae7a2d..fb5fe774f 100644 --- a/src/Magnum/ShaderTools/Test/SpirvTest.cpp +++ b/src/Magnum/ShaderTools/Test/SpirvTest.cpp @@ -70,8 +70,9 @@ const struct { Containers::ArrayView data; } InvalidData[] { {"empty", {}}, - {"just the header", JustHeader}, - {"invalid magic", InvalidMagic}, + /* GCC 4.8 needs the ArrayView conversion explicit */ + {"just the header", Containers::arrayView(JustHeader)}, + {"invalid magic", Containers::arrayView(InvalidMagic)}, {"size not divisible by four", Containers::arrayCast(Data).except(1)} };