summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-16 19:44:35 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-16 19:44:35 (GMT)
commited753228362d168459ec841e2c6cf2a980db60a5 (patch)
treebea8f368ede773cd6c5b4b0a6588e258ba74e091
parentc34696021d5fe72bed2b45ee52b37076a1d14dae (diff)
downloadCMake-ed753228362d168459ec841e2c6cf2a980db60a5.zip
CMake-ed753228362d168459ec841e2c6cf2a980db60a5.tar.gz
CMake-ed753228362d168459ec841e2c6cf2a980db60a5.tar.bz2
COMP: Fix build error on Windows
-rw-r--r--Source/cmCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index cd6b620..d26eea5 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -106,7 +106,7 @@ public:
/**
* The class name of the command.
*/
- virtual const char* GetClassName() = 0;
+ virtual const char* GetNameOfClass() = 0;
/**
* Succinct documentation.
@@ -188,7 +188,7 @@ private:
// All subclasses of cmCommand should invoke this macro.
#define cmTypeMacro(thisClass,superclass) \
-virtual const char* GetClassName() { return #thisClass; } \
+virtual const char* GetNameOfClass() { return #thisClass; } \
typedef superclass Superclass; \
static bool IsTypeOf(const char *type) \
{ \