diff --git a/src/Kaleidoscope/MagicCombo.h b/src/Kaleidoscope/MagicCombo.h index 902fe84e..958f7695 100644 --- a/src/Kaleidoscope/MagicCombo.h +++ b/src/Kaleidoscope/MagicCombo.h @@ -31,13 +31,6 @@ } \ } -#define _MAGICCOMBO_API_CHANGE \ - "The MagicCombo API changed in an incompatible way, you will need to\n" \ - "upgrade.\n" \ - "\n" \ - "Please see the `UPGRADING.md` document shipped with the source:\n" \ - " https://github.com/keyboardio/Kaleidoscope-MagicCombo/blob/master/UPGRADING.md" - namespace kaleidoscope { class MagicCombo : public kaleidoscope::Plugin { @@ -50,10 +43,8 @@ class MagicCombo : public kaleidoscope::Plugin { typedef struct combo_t { uint32_t left_hand, right_hand; - combo_t& operator=(combo_t &) { - static_assert(false, _DEPRECATE(_MAGICCOMBO_API_CHANGE)); - return *this; - } + private: + combo_t(byte left, byte right) {} } combo_t; MagicCombo(void) {}