mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
CreateRulePlaceholderExpander(): enhance memory management
This method returns now a std::unique_ptr instance rather than a raw pointer.
This commit is contained in:
@@ -137,7 +137,8 @@ public:
|
||||
return this->GlobalGenerator;
|
||||
}
|
||||
|
||||
virtual cmRulePlaceholderExpander* CreateRulePlaceholderExpander() const;
|
||||
virtual std::unique_ptr<cmRulePlaceholderExpander>
|
||||
CreateRulePlaceholderExpander() const;
|
||||
|
||||
std::string GetLinkLibsCMP0065(std::string const& linkLanguage,
|
||||
cmGeneratorTarget& tgt) const;
|
||||
|
||||
Reference in New Issue
Block a user