From d720b9116f3cce65cfadc1af3703b5e917dfc568 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Thu, 9 Apr 2020 18:04:28 +0200 Subject: [PATCH] Fixed Windows Build. --- tests/ConstStringTests.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ConstStringTests.cpp b/tests/ConstStringTests.cpp index 62257a9..e155082 100644 --- a/tests/ConstStringTests.cpp +++ b/tests/ConstStringTests.cpp @@ -42,7 +42,9 @@ TEST_CASE("Use case insensitive const string in switch case", "[Utilities]") { } } +#ifndef WINDOWS __attribute__((optnone)) +#endif static Arbutils::CaseInsensitiveConstString TestCreateConstString(){ char originalVal [7]; originalVal[0] = 'f';