From ed753228362d168459ec841e2c6cf2a980db60a5 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 16 Jun 2005 15:44:35 -0400 Subject: [PATCH] COMP: Fix build error on Windows --- Source/cmCommand.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmCommand.h b/Source/cmCommand.h index cd6b62093..d26eea5d8 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) \ { \