Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2011, 5:00:20 AM (13 years ago)
Author:
rgrieder
Message:

Replaced code like
bool b = someFunction(); assert(b);
with
OrxVerify(someFunction(), "");
to remove warnings in release mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/network/packet/Gamestate.cc

    r8327 r8373  
    3232
    3333#include "util/Debug.h"
     34#include "util/OrxAssert.h"
    3435#include "core/GameMode.h"
    3536#include "core/ObjectList.h"
     
    201202    {
    202203//       COUT(4) << "updating object of classid " << objectheader.getClassID() << endl;
    203       bool b = s->updateData(mem, mode);
    204       assert(b);
     204      OrxVerify(s->updateData(mem, mode), "");
    205205    }
    206206  }
Note: See TracChangeset for help on using the changeset viewer.