From: curt Date: Wed, 11 Jul 2001 16:02:26 +0000 (+0000) Subject: - added virtual destructor to XMLVisitor to make sure derived classes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fcb873b6ddde6678824b93e3920fd0dc8e47be97;p=simgear.git - added virtual destructor to XMLVisitor to make sure derived classes get a virtual destructor automatically. --- diff --git a/simgear/xml/easyxml.hxx b/simgear/xml/easyxml.hxx index dc7297be..12cb7f50 100644 --- a/simgear/xml/easyxml.hxx +++ b/simgear/xml/easyxml.hxx @@ -240,6 +240,12 @@ class XMLVisitor { public: + /** + * Virtual destructor. + */ + virtual ~XMLVisitor () {} + + /** * Callback for the start of an XML document. *