diff --git a/src/Magnum/Text/AbstractFont.cpp b/src/Magnum/Text/AbstractFont.cpp index e817d4a7e..5c182924d 100644 --- a/src/Magnum/Text/AbstractFont.cpp +++ b/src/Magnum/Text/AbstractFont.cpp @@ -74,6 +74,7 @@ bool AbstractFont::openSingleData(const Containers::ArrayReference d std::pair AbstractFont::doOpenSingleData(Containers::ArrayReference, Float) { CORRADE_ASSERT(false, "Text::AbstractFont::openSingleData(): feature advertised but not implemented", {}); + return {}; } bool AbstractFont::openFile(const std::string& filename, const Float size) { @@ -146,6 +147,7 @@ std::unique_ptr AbstractFont::createGlyphCache() { std::unique_ptr AbstractFont::doCreateGlyphCache() { CORRADE_ASSERT(false, "Text::AbstractFont::createGlyphCache(): feature advertised but not implemented", nullptr); + return nullptr; } std::unique_ptr AbstractFont::layout(const GlyphCache& cache, const Float size, const std::string& text) {