mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
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.
This commit is contained in:
committed by
Brad King
parent
04ff866ca8
commit
5170a8800f
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
/** Get the documentation entry for this factory */
|
||||
virtual void GetDocumentation(cmDocumentationEntry& entry) const {
|
||||
T().GetDocumentation(entry); }
|
||||
T::GetDocumentation(entry); }
|
||||
|
||||
/** Get the names of the current registered generators */
|
||||
virtual void GetGenerators(std::vector<std::string>& names) const {
|
||||
|
||||
Reference in New Issue
Block a user