From ab32d6598dc2283ef433c1ffed77bc46e3c016b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 21 Mar 2020 18:49:30 +0100 Subject: [PATCH] TgaImporter: MSVC 2015, you too. You're not supposed to just crash, not even the apocalypse is an excuse for that. --- src/MagnumPlugins/TgaImporter/Test/TgaImporterTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MagnumPlugins/TgaImporter/Test/TgaImporterTest.cpp b/src/MagnumPlugins/TgaImporter/Test/TgaImporterTest.cpp index 2c22ca017..df073cca2 100644 --- a/src/MagnumPlugins/TgaImporter/Test/TgaImporterTest.cpp +++ b/src/MagnumPlugins/TgaImporter/Test/TgaImporterTest.cpp @@ -95,7 +95,8 @@ constexpr const char Color24Rle[] = { '\x82', 4, 5, 6 }; -constexpr struct { +/* MSVC 2015 crashes when seeing constexpr here. Not doing that, then. */ +const struct { const char* name; Containers::ArrayView data; const char* message;