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