mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-09 04:09:31 -04:00
added virtual destructors
This commit is contained in:
parent
3c249e8847
commit
288e8f500e
@ -42,6 +42,12 @@ class CmdLineOutput
|
|||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Virtual destructor.
|
||||||
|
*/
|
||||||
|
virtual ~CmdLineOutput() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates some sort of output for the USAGE.
|
* Generates some sort of output for the USAGE.
|
||||||
* \param c - The CmdLine object the output is generated for.
|
* \param c - The CmdLine object the output is generated for.
|
||||||
|
@ -37,6 +37,11 @@ class Visitor
|
|||||||
*/
|
*/
|
||||||
Visitor() { }
|
Visitor() { }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Destructor. Does nothing.
|
||||||
|
*/
|
||||||
|
virtual ~Visitor() { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Does nothing. Should be overridden by child.
|
* Does nothing. Should be overridden by child.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user