Skip to content

Commit

Permalink
Add missing 'override' specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
mawww committed May 25, 2015
1 parent b42de85 commit 7b7427e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/highlighter_group.hh
Expand Up @@ -19,7 +19,7 @@ class HighlighterGroup : public Highlighter
public:
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 remove_child(StringView id) override;

Expand Down
2 changes: 1 addition & 1 deletion src/highlighters.cc
Expand Up @@ -1096,7 +1096,7 @@ struct RegionsHighlighter : public Highlighter
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)
return;
Expand Down

0 comments on commit 7b7427e

Please sign in to comment.