Browse Source

Attempt to fix build without assertions no. 6.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
5a3c0b18ac
  1. 2
      src/Magnum/Text/AbstractFont.cpp

2
src/Magnum/Text/AbstractFont.cpp

@ -74,6 +74,7 @@ bool AbstractFont::openSingleData(const Containers::ArrayReference<const char> d
std::pair<Float, Float> AbstractFont::doOpenSingleData(Containers::ArrayReference<const char>, 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<GlyphCache> AbstractFont::createGlyphCache() {
std::unique_ptr<GlyphCache> AbstractFont::doCreateGlyphCache() {
CORRADE_ASSERT(false, "Text::AbstractFont::createGlyphCache(): feature advertised but not implemented", nullptr);
return nullptr;
}
std::unique_ptr<AbstractLayouter> AbstractFont::layout(const GlyphCache& cache, const Float size, const std::string& text) {

Loading…
Cancel
Save