]> git.mxchange.org Git - simgear.git/commitdiff
- added virtual destructor to XMLVisitor to make sure derived classes
authorcurt <curt>
Wed, 11 Jul 2001 16:02:26 +0000 (16:02 +0000)
committercurt <curt>
Wed, 11 Jul 2001 16:02:26 +0000 (16:02 +0000)
  get a virtual destructor automatically.

simgear/xml/easyxml.hxx

index dc7297bef03c463e0a4ae0ddc805bd9ab041630c..12cb7f502d829b4cf19e63bc2b112d825894ad04 100644 (file)
@@ -240,6 +240,12 @@ class XMLVisitor
 {
 public:
 
+  /**
+   * Virtual destructor.
+   */
+  virtual ~XMLVisitor () {}
+
+
   /**
    * Callback for the start of an XML document.
    *