diff --git a/src/highlighter.hh b/src/highlighter.hh index 494abfff..8f41cc16 100644 --- a/src/highlighter.hh +++ b/src/highlighter.hh @@ -31,6 +31,7 @@ using HighlighterAndId = std::pair>; struct Highlighter { + virtual ~Highlighter() {} virtual void highlight(const Context& context, HighlightFlags flags, DisplayBuffer& display_buffer) = 0; virtual bool has_children() const { return false; }