diff options
Diffstat (limited to 'src/generic/oops.hpp')
-rw-r--r-- | src/generic/oops.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/generic/oops.hpp b/src/generic/oops.hpp index 231a4e4..cc0cdcd 100644 --- a/src/generic/oops.hpp +++ b/src/generic/oops.hpp @@ -30,14 +30,13 @@ class AssertionError : public std::runtime_error { - const char *_what; public: AssertionError(const char *desc, const char *expr, const char *file, size_t line, const char *function); }; # define ALLEGE(desc, expr) \ - if (expr) {} \ + if (expr) {} \ else throw AssertionError(desc, #expr, __FILE__, __LINE__, __PRETTY_FUNCTION__) #endif // TMWA_GENERIC_OOPS_HPP |