Fixed warnings

This commit is contained in:
Jan Mrna
2025-10-17 07:54:51 +02:00
parent 370fc98588
commit 057842ca7b

View File

@@ -57,7 +57,6 @@ public:
std::vector<std::weak_ptr<T>> 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<T> item) override {}
void Update(std::shared_ptr<T>) override {}
private:
std::vector<std::shared_ptr<T>> m_Items;