Only return local keys that are defined
This commit is contained in:
parent
bef3aeebab
commit
7740a738e0
|
@ -92,8 +92,11 @@ std::set<cmStdString> cmDefinitions::LocalKeys() const
|
|||
for(MapType::const_iterator mi = this->Map.begin();
|
||||
mi != this->Map.end(); ++mi)
|
||||
{
|
||||
if (mi->second.Exists)
|
||||
{
|
||||
keys.insert(mi->first);
|
||||
}
|
||||
}
|
||||
return keys;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue