diff --git a/include/omath/collision/epa_algorithm.hpp b/include/omath/collision/epa_algorithm.hpp index ee349fa..d707beb 100644 --- a/include/omath/collision/epa_algorithm.hpp +++ b/include/omath/collision/epa_algorithm.hpp @@ -192,7 +192,7 @@ namespace omath::collision struct HeapCmp final { [[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 }