From fcb873b6ddde6678824b93e3920fd0dc8e47be97 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 11 Jul 2001 16:02:26 +0000 Subject: [PATCH] - added virtual destructor to XMLVisitor to make sure derived classes get a virtual destructor automatically. --- simgear/xml/easyxml.hxx | 6 ++++++ 1 file changed, 6 insertions(+) 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. * -- 2.39.5