summaryrefslogtreecommitdiff
path: root/test/text/glyph_loader.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/text/glyph_loader.test.cpp')
-rw-r--r--test/text/glyph_loader.test.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/text/glyph_loader.test.cpp b/test/text/glyph_loader.test.cpp
index 41a65778f7..e06fbcb314 100644
--- a/test/text/glyph_loader.test.cpp
+++ b/test/text/glyph_loader.test.cpp
@@ -15,8 +15,12 @@ public:
if (glyphsLoaded) glyphsLoaded(fontStack, glyphRange);
}
- void onGlyphsError(const FontStack& fontStack, const GlyphRange& glyphRange, std::exception_ptr error) override {
- if (glyphsError) glyphsError(fontStack, glyphRange, error);
+ void onGlyphsError(const FontStack& fontStack,
+ const GlyphRange& glyphRange,
+ std::exception_ptr error,
+ const EventSeverity) override {
+ if (glyphsError)
+ glyphsError(fontStack, glyphRange, error);
}
std::function<void (const FontStack&, const GlyphRange&)> glyphsLoaded;