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)} };