Add missing 'override' specifiers
This commit is contained in:
parent
b42de85031
commit
7b7427e1a6
|
@ -19,7 +19,7 @@ class HighlighterGroup : public Highlighter
|
||||||
public:
|
public:
|
||||||
void highlight(const Context& context, HighlightFlags flags, DisplayBuffer& display_buffer, BufferRange range) override;
|
void highlight(const Context& context, HighlightFlags flags, DisplayBuffer& display_buffer, BufferRange range) override;
|
||||||
|
|
||||||
bool has_children() const { return true; }
|
bool has_children() const override { return true; }
|
||||||
void add_child(HighlighterAndId&& hl) override;
|
void add_child(HighlighterAndId&& hl) override;
|
||||||
void remove_child(StringView id) override;
|
void remove_child(StringView id) override;
|
||||||
|
|
||||||
|
|
|
@ -1096,7 +1096,7 @@ public:
|
||||||
m_groups.append({m_default_group, HighlighterGroup{}});
|
m_groups.append({m_default_group, HighlighterGroup{}});
|
||||||
}
|
}
|
||||||
|
|
||||||
void highlight(const Context& context, HighlightFlags flags, DisplayBuffer& display_buffer, BufferRange range)
|
void highlight(const Context& context, HighlightFlags flags, DisplayBuffer& display_buffer, BufferRange range) override
|
||||||
{
|
{
|
||||||
if (flags != HighlightFlags::Highlight)
|
if (flags != HighlightFlags::Highlight)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user