From 597f37c1776290cfb02d291387da61382e5f04ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 15 Sep 2015 09:48:11 +0200 Subject: [PATCH] GCC 4.7 compatibility: some {}-related issues. Travis build is broken, but worked for me locally. Weird. --- src/Magnum/Text/Test/AbstractFontConverterTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Text/Test/AbstractFontConverterTest.cpp b/src/Magnum/Text/Test/AbstractFontConverterTest.cpp index e648d1d1b..ec2e29d44 100644 --- a/src/Magnum/Text/Test/AbstractFontConverterTest.cpp +++ b/src/Magnum/Text/Test/AbstractFontConverterTest.cpp @@ -74,7 +74,8 @@ namespace { void AbstractFontConverterTest::convertGlyphs() { class GlyphExporter: public AbstractFontConverter { public: - GlyphExporter(std::u32string& characters): _characters{characters} {} + /* GCC 4.7 apparently can't handle {} here */ + GlyphExporter(std::u32string& characters): _characters(characters) {} private: Features doFeatures() const override { return Feature::ConvertData|Feature::ExportFont; }