summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
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/cmGlobalNinjaGenerator.h
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/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 7e1f6e3..c3df7d9 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -178,7 +178,7 @@ public:
static const char* GetActualName() { return "Ninja"; }
/// Overloaded methods. @see cmGlobalGenerator::GetDocumentation()
- virtual void GetDocumentation(cmDocumentationEntry& entry) const;
+ static void GetDocumentation(cmDocumentationEntry& entry);
/// Overloaded methods. @see cmGlobalGenerator::Generate()
virtual void Generate();