From 89fad939ec0d423961d8e93b2a0927f5b77bf256 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Oct 2006 14:34:37 +0000 Subject: [PATCH] added empty virtual dtors to silence gcc warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/HelpGen/src/srcparser.h | 4 ++++ 1 file changed, 4 insertions(+) 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