1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Cleanup: Remove redundant inlines

This commit is contained in:
reuk 2020-04-26 17:23:53 +01:00
parent 2f45814bfc
commit 4cf66d6522
45 changed files with 169 additions and 205 deletions

View file

@ -33,7 +33,7 @@ PositionedGlyph::PositionedGlyph (const Font& font_, juce_wchar character_, int
PositionedGlyph::~PositionedGlyph() {}
static inline void drawGlyphWithFont (Graphics& g, int glyph, const Font& font, AffineTransform t)
static void drawGlyphWithFont (Graphics& g, int glyph, const Font& font, AffineTransform t)
{
auto& context = g.getInternalContext();
context.setFont (font);
@ -536,7 +536,7 @@ void GlyphArrangement::spreadOutLine (int start, int num, float targetWidth)
}
}
static inline bool isBreakableGlyph (const PositionedGlyph& g) noexcept
static bool isBreakableGlyph (const PositionedGlyph& g) noexcept
{
return g.isWhitespace() || g.getCharacter() == '-';
}