Changeset 1645 for code/branches/gui/src/core/Exception.h
- Timestamp:
- Jul 23, 2008, 7:31:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/core/Exception.h
r1642 r1645 100 100 } 101 101 102 ~SpecificException() { }102 ~SpecificException() throw() { } 103 103 104 104 ExceptionType getType() const { return Type; } … … 133 133 #ifndef NDEBUG 134 134 #define OrxAssert(condition, errorMessage) \ 135 condition ? ((void)0) : ( orxonox::OutputHandler::getOutStream().setOutputLevel(ORX_ERROR) << errorMessage << std::endl); \136 assert(condition) ;135 condition ? ((void)0) : (void)(orxonox::OutputHandler::getOutStream().setOutputLevel(ORX_ERROR) << errorMessage << std::endl); \ 136 assert(condition) 137 137 #else 138 138 #define OrxAssert(condition, errorMessage) ((void)0)
Note: See TracChangeset
for help on using the changeset viewer.