diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-01-13 18:37:05 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-01-13 18:37:05 +0400 |
commit | b5558c36b85177bf282cb88edd3b899872b7a9b9 (patch) | |
tree | 5b1096b778359b49a4be4fef3190d08ea961329f /util | |
parent | 07902ca55036fe51c0b27cc98bbaaf39c26db7ff (diff) |
get rid of all aborts
Diffstat (limited to 'util')
-rw-r--r-- | util/exception.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/exception.hh b/util/exception.hh index 0298272bd..2fb00667f 100644 --- a/util/exception.hh +++ b/util/exception.hh @@ -83,6 +83,9 @@ template <class Except, class Data> typename Except::template ExceptionTag<Excep #define UTIL_THROW(Exception, Modify) \ UTIL_THROW_BACKEND(NULL, Exception, , Modify); +#define UTIL_THROW2(Modify) \ + UTIL_THROW_BACKEND(NULL, util::Exception, , Modify); + #if __GNUC__ >= 3 #define UTIL_UNLIKELY(x) __builtin_expect (!!(x), 0) #else |