diff --git a/lib/utils/mu-utils.hh b/lib/utils/mu-utils.hh index dc6a0cb1..95d6d82f 100644 --- a/lib/utils/mu-utils.hh +++ b/lib/utils/mu-utils.hh @@ -440,7 +440,8 @@ private: constexpr bool none_of(ET e) { return MU_TO_NUM(ET, e) == 0; } \ constexpr bool one_of(ET e1, ET e2) { return (e1 & e2) == e2; } \ constexpr ET& operator&=(ET& e1, ET e2) { return e1 = e1 & e2; } \ - constexpr ET& operator|=(ET& e1, ET e2) { return e1 = e1 | e2; } + constexpr ET& operator|=(ET& e1, ET e2) { return e1 = e1 | e2; } \ + static_assert(1==1) // require a semicolon /** * For unit tests, assert two std::string's are equal.