diff --git a/cpp/src/positional_container.hpp b/cpp/src/positional_container.hpp index ce6f685..6067114 100644 --- a/cpp/src/positional_container.hpp +++ b/cpp/src/positional_container.hpp @@ -57,7 +57,6 @@ public: std::vector> matched_items; for (const auto& item : m_Items) { - const auto& A = item->GetPosition(); if (center.DistanceTo(item->GetPosition()) < radius) { matched_items.push_back(item); @@ -68,7 +67,7 @@ public: // no update needed here, as we have no smart lookup scheme void UpdateAll() override {} - void Update(std::shared_ptr item) override {} + void Update(std::shared_ptr) override {} private: std::vector> m_Items;