diff options
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/intmath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/include/zencore/intmath.h b/zencore/include/zencore/intmath.h index 9d39b8226..792b8b2b4 100644 --- a/zencore/include/zencore/intmath.h +++ b/zencore/include/zencore/intmath.h @@ -125,13 +125,13 @@ IsPointerAligned(const void* Ptr, uint64_t Alignment) # error "Looks like you did #include <windows.h> -- use <zencore/windows.h> instead" #endif -auto +constexpr auto Min(auto x, auto y) { return x < y ? x : y; } -auto +constexpr auto Max(auto x, auto y) { return x > y ? x : y; |