mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
[core] Use constexpr when possible
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -96,7 +96,7 @@ Slice<Container> MakeSlice(Container const & c, size_t offset)
|
||||
template <typename S>
|
||||
void RawSkew(size_t n, size_t maxValue, S const & s, size_t * sa)
|
||||
{
|
||||
size_t const kInvalidId = std::numeric_limits<size_t>::max();
|
||||
size_t constexpr kInvalidId = std::numeric_limits<size_t>::max();
|
||||
|
||||
if (n == 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user