use intmax macro instead of numeric_limits because fucking windows gcc can't make use of it of course

This commit is contained in:
Stepland 2022-12-27 20:00:55 +01:00
parent 9a996f3283
commit 89020df4ba
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ void copy_sample_at_points(
if (next != starting_points.end()) {
return *next;
} else {
return std::numeric_limits<std::int64_t>::max();
return INT64_MAX;
}
}(it)
);

View File

@ -35,7 +35,7 @@ void copy_sample_at_points(
if (next != starting_points.end()) {
return next->first;
} else {
return std::numeric_limits<std::int64_t>::max();
return INT64_MAX;
}
}(it)
);