mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
oops
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user