diff --git a/include/omath/collision/epa_algorithm.hpp b/include/omath/collision/epa_algorithm.hpp index 798ddde..8013c74 100644 --- a/include/omath/collision/epa_algorithm.hpp +++ b/include/omath/collision/epa_algorithm.hpp @@ -166,7 +166,7 @@ namespace omath::collision using BoundaryMap = std::pmr::unordered_map; [[nodiscard]] - static constexpr int64_t pack_edge(int a, int b) noexcept + static constexpr int64_t pack_edge(const int a, const int b) noexcept { return (static_cast(a) << 32) | static_cast(b); }