From 5a3c0b18acdaa9a0d94706bed8046d978c63cfbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 25 May 2015 19:46:41 +0200 Subject: [PATCH] Attempt to fix build without assertions no. 6. --- src/Magnum/Text/AbstractFont.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) {