This commit is contained in:
2025-12-04 04:47:34 +03:00
parent 0e03805439
commit d7a009eb67

View File

@@ -192,7 +192,7 @@ namespace omath::collision
struct HeapCmp final struct HeapCmp final
{ {
[[nodiscard]] [[nodiscard]]
static bool operator()(const HeapItem& lhs, const HeapItem& rhs) const noexcept static bool operator()(const HeapItem& lhs, const HeapItem& rhs) noexcept
{ {
return lhs.d > rhs.d; // min-heap by distance return lhs.d > rhs.d; // min-heap by distance
} }