Ignore:
Timestamp:
Oct 2, 2009, 3:09:28 PM (12 years ago)
Author:
Peter
Message:

corrected (negated) expression in YAT_ASSERT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/yat_assert.h

    r1875 r2075  
    5656// to end with something that allows that.
    5757#define YAT_ASSERT(expr) \
    58   if (expr) { \
     58  if (!(expr)) {                                                \
    5959    std::stringstream yat_msg_;                                 \
    6060    yat_msg_ << __FILE__ << ":" << __LINE__ << " failed assertion `" \
Note: See TracChangeset for help on using the changeset viewer.