From 642b2b04b713d2bee36bedc693dd6ac381c8b436 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 23 Feb 2022 23:40:02 -0600 Subject: [PATCH] [ox/std] Make ResizedInt use static_cast to get better error messages --- deps/ox/src/ox/std/types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/types.hpp b/deps/ox/src/ox/std/types.hpp index 3df5dce3..6c66b1d3 100644 --- a/deps/ox/src/ox/std/types.hpp +++ b/deps/ox/src/ox/std/types.hpp @@ -130,7 +130,7 @@ template using Unsigned = Uint; // ResizedInt retains the sign while granting a new size -template +template(-1) < static_cast(0)> struct ResizedInt { };