- added virtual destructor to XMLVisitor to make sure derived classes
get a virtual destructor automatically.
This commit is contained in:
parent
a66d1ad855
commit
fcb873b6dd
@ -240,6 +240,12 @@ class XMLVisitor
|
||||
{
|
||||
public:
|
||||
|
||||
/**
|
||||
* Virtual destructor.
|
||||
*/
|
||||
virtual ~XMLVisitor () {}
|
||||
|
||||
|
||||
/**
|
||||
* Callback for the start of an XML document.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user