diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-19 16:42:24 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-19 12:54:50 -0500 |
commit | 5170a8800ff4613dd41f6995e8efd43df36a40bd (patch) | |
tree | 312d4d27d35e2675a4812a363907ca795af1af4e /Source/cmGlobalNMakeMakefileGenerator.cxx | |
parent | 04ff866ca8a0c5f4f8712d6cfafcd192ed4cbe58 (diff) | |
download | cmake-5170a8800ff4613dd41f6995e8efd43df36a40bd.tar.gz |
Make cmGlobalGenerator::GetDocumentation() a static function
Making the function static allows us to call it directly,
without creating and removing an instance of the generator.
Diffstat (limited to 'Source/cmGlobalNMakeMakefileGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNMakeMakefileGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.cxx b/Source/cmGlobalNMakeMakefileGenerator.cxx index 57a26c8ae7..7af4ee3a8d 100644 --- a/Source/cmGlobalNMakeMakefileGenerator.cxx +++ b/Source/cmGlobalNMakeMakefileGenerator.cxx @@ -61,9 +61,9 @@ cmLocalGenerator *cmGlobalNMakeMakefileGenerator::CreateLocalGenerator() //---------------------------------------------------------------------------- void cmGlobalNMakeMakefileGenerator -::GetDocumentation(cmDocumentationEntry& entry) const +::GetDocumentation(cmDocumentationEntry& entry) { - entry.Name = this->GetName(); + entry.Name = cmGlobalNMakeMakefileGenerator::GetActualName(); entry.Brief = "Generates NMake makefiles."; entry.Full = ""; } |