added virtual destructors

This commit is contained in:
mes5k 2006-03-18 19:16:35 +00:00
parent 3c249e8847
commit 288e8f500e
2 changed files with 11 additions and 0 deletions

View File

@ -42,6 +42,12 @@ class CmdLineOutput
{
public:
/**
* Virtual destructor.
*/
virtual ~CmdLineOutput() {}
/**
* Generates some sort of output for the USAGE.
* \param c - The CmdLine object the output is generated for.

View File

@ -37,6 +37,11 @@ class Visitor
*/
Visitor() { }
/**
* Destructor. Does nothing.
*/
virtual ~Visitor() { }
/**
* Does nothing. Should be overridden by child.
*/