Browse Source

GCC 4.7 compatibility: some {}-related issues.

Travis build is broken, but worked for me locally. Weird.
pull/110/head
Vladimír Vondruš 11 years ago
parent
commit
597f37c177
  1. 3
      src/Magnum/Text/Test/AbstractFontConverterTest.cpp

3
src/Magnum/Text/Test/AbstractFontConverterTest.cpp

@ -74,7 +74,8 @@ namespace {
void AbstractFontConverterTest::convertGlyphs() { void AbstractFontConverterTest::convertGlyphs() {
class GlyphExporter: public AbstractFontConverter { class GlyphExporter: public AbstractFontConverter {
public: public:
GlyphExporter(std::u32string& characters): _characters{characters} {} /* GCC 4.7 apparently can't handle {} here */
GlyphExporter(std::u32string& characters): _characters(characters) {}
private: private:
Features doFeatures() const override { return Feature::ConvertData|Feature::ExportFont; } Features doFeatures() const override { return Feature::ConvertData|Feature::ExportFont; }

Loading…
Cancel
Save