From 11fe49e801794bfb03c33708a19dd2ab030d9bc5 Mon Sep 17 00:00:00 2001 From: orange Date: Tue, 3 Mar 2026 08:51:13 +0300 Subject: [PATCH] added const --- include/omath/collision/epa_algorithm.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }