diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-19 15:42:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-19 17:54:50 (GMT) |
commit | 5170a8800ff4613dd41f6995e8efd43df36a40bd (patch) | |
tree | 312d4d27d35e2675a4812a363907ca795af1af4e /Source/cmGlobalVisualStudio8Generator.h | |
parent | 04ff866ca8a0c5f4f8712d6cfafcd192ed4cbe58 (diff) | |
download | CMake-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/cmGlobalVisualStudio8Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.h b/Source/cmGlobalVisualStudio8Generator.h index 157464b..ec0d07c 100644 --- a/Source/cmGlobalVisualStudio8Generator.h +++ b/Source/cmGlobalVisualStudio8Generator.h @@ -36,7 +36,7 @@ public: virtual const char* GetPlatformName() const {return "Win32";} /** Get the documentation entry for this generator. */ - virtual void GetDocumentation(cmDocumentationEntry& entry) const; + static void GetDocumentation(cmDocumentationEntry& entry); ///! Create a local generator appropriate to this Global Generator virtual cmLocalGenerator *CreateLocalGenerator(); |