From 7bcbd9b49763e02454750b3332e99d9388b64858 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 8 Aug 2018 13:59:43 +0200 Subject: [PATCH] Rename Zone#GetAllParents() to Zone#GetAllParentsRaw() --- lib/remote/apilistener.cpp | 2 +- lib/remote/zone.cpp | 2 +- lib/remote/zone.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/remote/apilistener.cpp b/lib/remote/apilistener.cpp index c1546710d..c1eeb3e23 100644 --- a/lib/remote/apilistener.cpp +++ b/lib/remote/apilistener.cpp @@ -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; } diff --git a/lib/remote/zone.cpp b/lib/remote/zone.cpp index eddc3aa67..da4a5dad3 100644 --- a/lib/remote/zone.cpp +++ b/lib/remote/zone.cpp @@ -89,7 +89,7 @@ std::set Zone::GetEndpoints() const return result; } -std::vector Zone::GetAllParents() const +std::vector Zone::GetAllParentsRaw() const { return m_AllParents; } diff --git a/lib/remote/zone.hpp b/lib/remote/zone.hpp index 6193dc026..23b04e6dd 100644 --- a/lib/remote/zone.hpp +++ b/lib/remote/zone.hpp @@ -40,7 +40,7 @@ public: Zone::Ptr GetParent() const; std::set GetEndpoints() const; - std::vector GetAllParents() const; + std::vector GetAllParentsRaw() const; bool CanAccessObject(const ConfigObject::Ptr& object); bool IsChildOf(const Zone::Ptr& zone);