Changeset c0332d for molecuilder/src/Helpers/Assert.hpp
- Timestamp:
- Apr 24, 2010, 3:27:00 PM (16 years ago)
- Children:
- 65b413
- Parents:
- 298621
- File:
-
- 1 edited
-
molecuilder/src/Helpers/Assert.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Helpers/Assert.hpp
r298621 rc0332d 263 263 }while(0) 264 264 265 #define ASSERT_NOCATCH(message) \ 266 catch(Assert::AssertionFailure&){throw;}\ 267 catch(...){\ 268 static bool ignore = false; \ 269 _my_assert::check(false,"Exception caught",(message),__FILE__,__LINE__,ignore);\ 270 } 271 265 272 #define ASSERT_DO(action) do{_my_assert::setDefault(action);}while(0) 266 273 #define ASSERT_HOOK(hook) do{_my_assert::addHook(hook);}while(0)
Note:
See TracChangeset
for help on using the changeset viewer.
