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;
} 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<const char>(Data).except(1)}
};

Loading…
Cancel
Save