diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-24 22:36:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:38 (GMT) |
commit | 1a1b737c99ac0bd0d555fde2fadf77f08516a4ea (patch) | |
tree | 552432238277036e6d3f846d87276db507cb949d /Source/cmGlobalJOMMakefileGenerator.h | |
parent | 24b5e93de2c753e94cae3b41c1ca7cddaa03e5e7 (diff) | |
download | CMake-1a1b737c99ac0bd0d555fde2fadf77f08516a4ea.zip CMake-1a1b737c99ac0bd0d555fde2fadf77f08516a4ea.tar.gz CMake-1a1b737c99ac0bd0d555fde2fadf77f08516a4ea.tar.bz2 |
stringapi: Use strings for generator names
Diffstat (limited to 'Source/cmGlobalJOMMakefileGenerator.h')
-rw-r--r-- | Source/cmGlobalJOMMakefileGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalJOMMakefileGenerator.h b/Source/cmGlobalJOMMakefileGenerator.h index 28893bf..344e013 100644 --- a/Source/cmGlobalJOMMakefileGenerator.h +++ b/Source/cmGlobalJOMMakefileGenerator.h @@ -27,11 +27,11 @@ public: return new cmGlobalGeneratorSimpleFactory <cmGlobalJOMMakefileGenerator>(); } ///! Get the name for the generator. - virtual const char* GetName() const { + virtual std::string GetName() const { return cmGlobalJOMMakefileGenerator::GetActualName();} // use NMake Makefiles in the name so that scripts/tests that depend on the // name NMake Makefiles will work - static const char* GetActualName() {return "NMake Makefiles JOM";} + static std::string GetActualName() {return "NMake Makefiles JOM";} /** Get the documentation entry for this generator. */ static void GetDocumentation(cmDocumentationEntry& entry); |