Instead of using a lambda (which is not constexpr in C++11), use a temporary, anonymous struct instance to wrap the `static_assert`, which is constexpr in C++11. Fixes keyboardio/Model01-Firmware#53. Thanks to @noseglasses for finding the cause, and explaining the fix! Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/331/head
parent
07efbce40d
commit
5006da2a28
Loading…
Reference in new issue