mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-28 01:00:28 +03:00
Add virtual destructor to Highlighter
This commit is contained in:
parent
cd24bf93e8
commit
2213f98176
@ -31,6 +31,7 @@ using HighlighterAndId = std::pair<String, std::unique_ptr<Highlighter>>;
|
||||
|
||||
struct Highlighter
|
||||
{
|
||||
virtual ~Highlighter() {}
|
||||
virtual void highlight(const Context& context, HighlightFlags flags, DisplayBuffer& display_buffer) = 0;
|
||||
|
||||
virtual bool has_children() const { return false; }
|
||||
|
Loading…
Reference in New Issue
Block a user