diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-24 17:36:27 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 13:05:38 -0500 |
commit | 1a1b737c99ac0bd0d555fde2fadf77f08516a4ea (patch) | |
tree | 552432238277036e6d3f846d87276db507cb949d /Source/cmGlobalNinjaGenerator.h | |
parent | 24b5e93de2c753e94cae3b41c1ca7cddaa03e5e7 (diff) | |
download | cmake-1a1b737c99ac0bd0d555fde2fadf77f08516a4ea.tar.gz |
stringapi: Use strings for generator names
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index 4a284864a8..2467af9c7f 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -173,11 +173,11 @@ public: virtual cmLocalGenerator* CreateLocalGenerator(); /// Overloaded methods. @see cmGlobalGenerator::GetName(). - virtual const char* GetName() const { + virtual std::string GetName() const { return cmGlobalNinjaGenerator::GetActualName(); } /// @return the name of this generator. - static const char* GetActualName() { return "Ninja"; } + static std::string GetActualName() { return "Ninja"; } /// Overloaded methods. @see cmGlobalGenerator::GetDocumentation() static void GetDocumentation(cmDocumentationEntry& entry); |