From adb09452d87fbf24acf950d8c680114e6b2bfd01 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Wed, 30 Jun 2021 12:08:59 +0200 Subject: [PATCH] ParserBase has virtual functions but did not have a virtual dtor. --- liblangutil/ParserBase.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liblangutil/ParserBase.h b/liblangutil/ParserBase.h index c3fb1056d..098826f1c 100644 --- a/liblangutil/ParserBase.h +++ b/liblangutil/ParserBase.h @@ -47,6 +47,8 @@ public: m_parserErrorRecovery = _parserErrorRecovery; } + virtual ~ParserBase() = default; + std::shared_ptr source() const { return m_scanner->charStream(); } protected: