summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-02-23 15:40:13 (GMT)
committerBrad King <brad.king@kitware.com>2001-02-23 15:40:13 (GMT)
commitd31ce244136205bc006967090ddd4d6fdde5b3cb (patch)
tree7c3c96c3a906ed4ba33d7ecc0ab616db8a0e0373 /Source/cmCommand.h
parent8f0ac1e9bd4aaf012c10e0044465c580b6f56144 (diff)
downloadCMake-d31ce244136205bc006967090ddd4d6fdde5b3cb.zip
CMake-d31ce244136205bc006967090ddd4d6fdde5b3cb.tar.gz
CMake-d31ce244136205bc006967090ddd4d6fdde5b3cb.tar.bz2
ERR: Fixed warnings (int->unsigned int and a few others).
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)