summaryrefslogtreecommitdiff
path: root/Source/cmLoadCacheCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLoadCacheCommand.h')
-rw-r--r--Source/cmLoadCacheCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLoadCacheCommand.h b/Source/cmLoadCacheCommand.h
index ff8625f378..04207d0dd0 100644
--- a/Source/cmLoadCacheCommand.h
+++ b/Source/cmLoadCacheCommand.h
@@ -40,7 +40,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() const { return "load_cache";}
+ virtual std::string GetName() const { return "load_cache";}
cmTypeMacro(cmLoadCacheCommand, cmCommand);
protected: