diff --git a/src/Text/Test/AbstractFontConverterTest.cpp b/src/Text/Test/AbstractFontConverterTest.cpp index e7d3e2f7b..f772c2dd5 100644 --- a/src/Text/Test/AbstractFontConverterTest.cpp +++ b/src/Text/Test/AbstractFontConverterTest.cpp @@ -72,7 +72,11 @@ void AbstractFontConverterTest::convertGlyphs() { Containers::Array doExportFontToSingleData(AbstractFont*, GlyphCache*, const std::u32string& characters) const override { this->characters = characters; + #ifndef CORRADE_GCC45_COMPATIBILITY return nullptr; + #else + return {}; + #endif } std::u32string& characters;