diff --git a/src/Text/AbstractFont.h b/src/Text/AbstractFont.h index f2153849c..a8d3c9af4 100644 --- a/src/Text/AbstractFont.h +++ b/src/Text/AbstractFont.h @@ -87,7 +87,7 @@ class MAGNUM_TEXT_EXPORT AbstractFont: public PluginManager::AbstractPlugin { virtual void close() = 0; /** @brief Font size */ - inline Float size() const { return _size; } + Float size() const { return _size; } /** * @brief Create glyph cache for given character set @@ -132,7 +132,7 @@ class MAGNUM_TEXT_EXPORT AbstractLayouter { virtual ~AbstractLayouter() = 0; /** @brief Count of glyphs in laid out text */ - inline UnsignedInt glyphCount() const { + UnsignedInt glyphCount() const { return _glyphCount; } diff --git a/src/Text/GlyphCache.h b/src/Text/GlyphCache.h index 1b6c5556c..bd6c55d5b 100644 --- a/src/Text/GlyphCache.h +++ b/src/Text/GlyphCache.h @@ -81,13 +81,13 @@ class MAGNUM_TEXT_EXPORT GlyphCache { * * Size of unscaled glyph cache texture. */ - inline Vector2i textureSize() const { return _size; } + Vector2i textureSize() const { return _size; } /** @brief Count of glyphs in the cache */ - inline std::size_t glyphCount() const { return glyphs.size(); } + std::size_t glyphCount() const { return glyphs.size(); } /** @brief Cache texture */ - inline Texture2D* texture() { return &_texture; } + Texture2D* texture() { return &_texture; } /** * @brief Parameters of given glyph @@ -97,7 +97,7 @@ class MAGNUM_TEXT_EXPORT GlyphCache { * second element is glyph region in texture atlas. If no glyph is * found, glyph on zero index is returned. */ - inline std::pair operator[](UnsignedInt glyph) const { + std::pair operator[](UnsignedInt glyph) const { auto it = glyphs.find(glyph); return it == glyphs.end() ? glyphs.at(0) : it->second; } diff --git a/src/Text/TextRenderer.h b/src/Text/TextRenderer.h index b4f470723..4c1299a58 100644 --- a/src/Text/TextRenderer.h +++ b/src/Text/TextRenderer.h @@ -77,13 +77,13 @@ class MAGNUM_TEXT_EXPORT AbstractTextRenderer { * * @see reserve() */ - inline UnsignedInt capacity() const { return _capacity; } + UnsignedInt capacity() const { return _capacity; } /** @brief Rectangle spanning the rendered text */ - inline Rectangle rectangle() const { return _rectangle; } + Rectangle rectangle() const { return _rectangle; } /** @brief Text mesh */ - inline Mesh* mesh() { return &_mesh; } + Mesh* mesh() { return &_mesh; } /** * @brief Reserve capacity for rendered glyphs