- added virtual destructor to XMLVisitor to make sure derived classes

get a virtual destructor automatically.
This commit is contained in:
curt 2001-07-11 16:02:26 +00:00
parent a66d1ad855
commit fcb873b6dd

View File

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