Rename Zone#GetAllParents() to Zone#GetAllParentsRaw()

This commit is contained in:
Alexander A. Klimov 2018-08-08 13:59:43 +02:00
parent 8bac1dc99e
commit 7bcbd9b497
3 changed files with 3 additions and 3 deletions

View File

@ -997,7 +997,7 @@ void ApiListener::SyncRelayMessage(const MessageOrigin::Ptr& origin,
bool need_log = !RelayMessageOne(target_zone, origin, message, master);
for (const Zone::Ptr& zone : target_zone->GetAllParents()) {
for (const Zone::Ptr& zone : target_zone->GetAllParentsRaw()) {
if (!RelayMessageOne(zone, origin, message, master))
need_log = true;
}

View File

@ -89,7 +89,7 @@ std::set<Endpoint::Ptr> Zone::GetEndpoints() const
return result;
}
std::vector<Zone::Ptr> Zone::GetAllParents() const
std::vector<Zone::Ptr> Zone::GetAllParentsRaw() const
{
return m_AllParents;
}

View File

@ -40,7 +40,7 @@ public:
Zone::Ptr GetParent() const;
std::set<Endpoint::Ptr> GetEndpoints() const;
std::vector<Zone::Ptr> GetAllParents() const;
std::vector<Zone::Ptr> GetAllParentsRaw() const;
bool CanAccessObject(const ConfigObject::Ptr& object);
bool IsChildOf(const Zone::Ptr& zone);