diff --git a/immer/config.hpp b/immer/config.hpp index 2e8378f6..af34e5f1 100644 --- a/immer/config.hpp +++ b/immer/config.hpp @@ -33,7 +33,7 @@ #define IMMER_CATCH(expr) else #define IMMER_THROW(expr) \ do { \ - assert(!#expr); \ + assert((#expr, false)); \ std::terminate(); \ } while (false) #define IMMER_RETHROW