diff --git a/utils/HelpGen/src/srcparser.h b/utils/HelpGen/src/srcparser.h index fda07320e0..65ceb694b3 100644 --- a/utils/HelpGen/src/srcparser.h +++ b/utils/HelpGen/src/srcparser.h @@ -217,6 +217,8 @@ public: virtual void VisitParameter( spParameter& WXUNUSED(param) ) {} virtual void VisitCustomContext( spContext& WXUNUSED(ctx) ) {} + + virtual ~spVisitor() { } }; // stores one section of comments, @@ -712,6 +714,8 @@ class SourceParserPlugin public: virtual bool CanUnderstandContext( char* cur, char* end, spContext* pOuttterCtx ) = 0; virtual void ParseContext( char* start, char*& cur, char* end, spContext* pOuttterCtx ) = 0; + + virtual ~SourceParserPlugin() { } }; // abstract interface for source parsers