diff --git a/src/Kaleidoscope/MagicCombo.h b/src/Kaleidoscope/MagicCombo.h index 38e669a2..105c71be 100644 --- a/src/Kaleidoscope/MagicCombo.h +++ b/src/Kaleidoscope/MagicCombo.h @@ -50,14 +50,9 @@ class MagicCombo : public kaleidoscope::Plugin { typedef struct combo_t { uint32_t left_hand, right_hand; - template - struct always_false { - enum { value = false }; - }; - template combo_t(T l, T r) { - static_assert(always_false::value, _DEPRECATE(_MAGICCOMBO_API_CHANGE)); + static_assert(sizeof(T) < 0, _DEPRECATE(_MAGICCOMBO_API_CHANGE)); } } combo_t;