Browse Source

ShaderTools: GCC 4.8, come on, it's Friday.

pull/495/head
Vladimír Vondruš 5 years ago
parent
commit
d591c8d003
  1. 5
      src/Magnum/ShaderTools/Test/SpirvTest.cpp

5
src/Magnum/ShaderTools/Test/SpirvTest.cpp

@ -70,8 +70,9 @@ const struct {
Containers::ArrayView<const void> data; Containers::ArrayView<const void> data;
} InvalidData[] { } InvalidData[] {
{"empty", {}}, {"empty", {}},
{"just the header", JustHeader}, /* GCC 4.8 needs the ArrayView conversion explicit */
{"invalid magic", InvalidMagic}, {"just the header", Containers::arrayView(JustHeader)},
{"invalid magic", Containers::arrayView(InvalidMagic)},
{"size not divisible by four", Containers::arrayCast<const char>(Data).except(1)} {"size not divisible by four", Containers::arrayCast<const char>(Data).except(1)}
}; };

Loading…
Cancel
Save