diff --git a/modules/juce_graphics/native/juce_RenderingHelpers.h b/modules/juce_graphics/native/juce_RenderingHelpers.h index 9619c02d69..2401c286f8 100644 --- a/modules/juce_graphics/native/juce_RenderingHelpers.h +++ b/modules/juce_graphics/native/juce_RenderingHelpers.h @@ -322,12 +322,12 @@ private: @tags{Graphics} */ -template class CachedGlyphEdgeTable : public ReferenceCountedObject { public: CachedGlyphEdgeTable() = default; + template void draw (RendererType& state, Point pos) const { if (edgeTable != nullptr) @@ -2570,7 +2570,7 @@ public: } } - using GlyphCacheType = GlyphCache, SoftwareRendererSavedState>; + using GlyphCacheType = GlyphCache; static void clearGlyphCache() {