summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCommand.h')
-rw-r--r--Source/cmCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index 72f08dc..aefd757 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -39,6 +39,11 @@ public:
{m_Makefile = 0; m_Enabled = true;}
/**
+ * Need virtual destructor to destroy real command type.
+ */
+ virtual ~cmCommand() {}
+
+ /**
* Specify the makefile.
*/
void SetMakefile(cmMakefile*m)