mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmDefinitions: Inline GetClosureKeys implementation.
This commit is contained in:
@@ -123,14 +123,7 @@ std::set<std::string> cmDefinitions::ClosureKeys() const
|
||||
{
|
||||
std::set<std::string> defined;
|
||||
std::set<std::string> undefined;
|
||||
this->ClosureKeys(defined, undefined);
|
||||
return defined;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
void cmDefinitions::ClosureKeys(std::set<std::string>& defined,
|
||||
std::set<std::string>& undefined) const
|
||||
{
|
||||
cmDefinitions const* up = this;
|
||||
|
||||
while (up)
|
||||
@@ -149,4 +142,5 @@ void cmDefinitions::ClosureKeys(std::set<std::string>& defined,
|
||||
}
|
||||
up = up->Up;
|
||||
}
|
||||
return defined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user