From 8ec189e3d203c22ebee94e464956c8e069a1b4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=9A=93?= Date: Fri, 9 May 2025 23:28:17 -0400 Subject: [PATCH] Remove always-false `static_assert` from binding-sandbox/binding-base.h This is causing compilation errors with some compilers. --- binding-sandbox/binding-base.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/binding-sandbox/binding-base.h b/binding-sandbox/binding-base.h index b01fc1a3..793bf7f5 100644 --- a/binding-sandbox/binding-base.h +++ b/binding-sandbox/binding-base.h @@ -102,9 +102,6 @@ namespace mkxp_sandbox { // slot_type<2, slots>::type var2; // this variable should be of type `uint16_t` // slot_type<3, slots>::type var3; // this variable should be of type `uint8_t` template struct slot_type; - template struct slot_type> { - static_assert(false, "index out of range"); - }; template struct slot_type<0, struct decl_slots> { static_assert(std::is_integral::value || std::is_floating_point::value, "slots must have numeric types"); typedef Head type;