From 3c0d92fd3a09453632852348d3f3d6390e94490b Mon Sep 17 00:00:00 2001 From: anatoly-os Date: Wed, 28 Nov 2018 12:03:19 +0200 Subject: [PATCH] fix macos bild --- libmscore/style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmscore/style.cpp b/libmscore/style.cpp index 472b945ec055..11a36293370f 100644 --- a/libmscore/style.cpp +++ b/libmscore/style.cpp @@ -2140,7 +2140,7 @@ bool MStyle::readStyleValCompat(XmlReader& e) bool MStyle::readTextStyleValCompat(XmlReader& e) { - constexpr std::array, 3> styleNamesEndings {{ + static const std::array, 3> styleNamesEndings {{ { "FontBold", FontStyle::Bold }, { "FontItalic", FontStyle::Italic }, { "FontUnderline", FontStyle::Underline }