From 057842ca7b11b8ef2b91ac9703baf76c6e7b54d2 Mon Sep 17 00:00:00 2001 From: Jan Mrna Date: Fri, 17 Oct 2025 07:54:51 +0200 Subject: [PATCH] Fixed warnings --- cpp/src/positional_container.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;