From feba35ff722f010b4d1d800ffd9791c86ea83e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 25 May 2015 19:59:43 +0200 Subject: [PATCH] Attempt to fix build without assertions no. 7. --- src/Magnum/Text/AbstractFontConverter.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Magnum/Text/AbstractFontConverter.cpp b/src/Magnum/Text/AbstractFontConverter.cpp index 00ce14ffa..d1f87a5a8 100644 --- a/src/Magnum/Text/AbstractFontConverter.cpp +++ b/src/Magnum/Text/AbstractFontConverter.cpp @@ -101,6 +101,7 @@ Containers::Array AbstractFontConverter::doExportFontToSingleData(Abstract { CORRADE_ASSERT(false, "Text::AbstractFontConverter::exportFontToSingleData(): feature advertised but not implemented", nullptr); + return nullptr; } bool AbstractFontConverter::exportFontToFile(AbstractFont& font, GlyphCache& cache, const std::string& filename, const std::string& characters) const { @@ -157,6 +158,7 @@ Containers::Array AbstractFontConverter::exportGlyphCacheToSingleData(Glyp Containers::Array AbstractFontConverter::doExportGlyphCacheToSingleData(GlyphCache&) const { CORRADE_ASSERT(false, "Text::AbstractFontConverter::exportGlyphCacheToSingleData(): feature advertised but not implemented", nullptr); + return nullptr; } bool AbstractFontConverter::exportGlyphCacheToFile(GlyphCache& cache, const std::string& filename) const { @@ -210,6 +212,7 @@ std::unique_ptr AbstractFontConverter::importGlyphCacheFromSingleDat std::unique_ptr AbstractFontConverter::doImportGlyphCacheFromSingleData(Containers::ArrayReference) const { CORRADE_ASSERT(false, "Text::AbstractFontConverter::importGlyphCacheFromSingleData(): feature advertised but not implemented", nullptr); + return nullptr; } std::unique_ptr AbstractFontConverter::importGlyphCacheFromFile(const std::string& filename) const {