summaryrefslogtreecommitdiff
path: root/Source/cmMessageCommand.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-24 20:19:17 -0500
committerBrad King <brad.king@kitware.com>2014-03-08 13:05:39 -0500
commit85fc9f26a703f28b356c93d405446c39bba43846 (patch)
treed69d4dd2a3be73d462350c6ea300448fd3c57178 /Source/cmMessageCommand.h
parent6557382dcffef8ed6b11394cb65775d82f1c0aa7 (diff)
downloadcmake-85fc9f26a703f28b356c93d405446c39bba43846.tar.gz
stringapi: Command names
Diffstat (limited to 'Source/cmMessageCommand.h')
-rw-r--r--Source/cmMessageCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMessageCommand.h b/Source/cmMessageCommand.h
index fec9a3233a..c0ae2a3225 100644
--- a/Source/cmMessageCommand.h
+++ b/Source/cmMessageCommand.h
@@ -39,7 +39,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() const { return "message";}
+ virtual std::string GetName() const { return "message";}
/**
* This determines if the command is invoked when in script mode.