summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalMinGWMakefileGenerator.cxx
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-19 15:42:24 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-19 17:54:50 (GMT)
commit5170a8800ff4613dd41f6995e8efd43df36a40bd (patch)
tree312d4d27d35e2675a4812a363907ca795af1af4e /Source/cmGlobalMinGWMakefileGenerator.cxx
parent04ff866ca8a0c5f4f8712d6cfafcd192ed4cbe58 (diff)
downloadCMake-5170a8800ff4613dd41f6995e8efd43df36a40bd.zip
CMake-5170a8800ff4613dd41f6995e8efd43df36a40bd.tar.gz
CMake-5170a8800ff4613dd41f6995e8efd43df36a40bd.tar.bz2
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/cmGlobalMinGWMakefileGenerator.cxx')
-rw-r--r--Source/cmGlobalMinGWMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalMinGWMakefileGenerator.cxx b/Source/cmGlobalMinGWMakefileGenerator.cxx
index d6045c8..e202b02 100644
--- a/Source/cmGlobalMinGWMakefileGenerator.cxx
+++ b/Source/cmGlobalMinGWMakefileGenerator.cxx
@@ -71,9 +71,9 @@ cmLocalGenerator *cmGlobalMinGWMakefileGenerator::CreateLocalGenerator()
//----------------------------------------------------------------------------
void cmGlobalMinGWMakefileGenerator
-::GetDocumentation(cmDocumentationEntry& entry) const
+::GetDocumentation(cmDocumentationEntry& entry)
{
- entry.Name = this->GetName();
+ entry.Name = cmGlobalMinGWMakefileGenerator::GetActualName();
entry.Brief = "Generates a make file for use with mingw32-make.";
entry.Full = "The makefiles generated use cmd.exe as the shell. "
"They do not require msys or a unix shell.";