added const

This commit is contained in:
2026-03-03 08:51:13 +03:00
parent dee705a391
commit 11fe49e801

View File

@@ -166,7 +166,7 @@ namespace omath::collision
using BoundaryMap = std::pmr::unordered_map<int64_t, Edge>;
[[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<int64_t>(a) << 32) | static_cast<uint32_t>(b);
}