mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-19 07:23:27 +00:00
added const
This commit is contained in:
@@ -166,7 +166,7 @@ namespace omath::collision
|
|||||||
using BoundaryMap = std::pmr::unordered_map<int64_t, Edge>;
|
using BoundaryMap = std::pmr::unordered_map<int64_t, Edge>;
|
||||||
|
|
||||||
[[nodiscard]]
|
[[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);
|
return (static_cast<int64_t>(a) << 32) | static_cast<uint32_t>(b);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user