Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 21, 2016, 1:59:04 PM (9 years ago)
Author:
muemart
Message:

Fix some clang-tidy warnings.
Also, Serialise.h was doing some C-style casts that ended up being const casts. I moved those const casts as close to the source as possible and changed the loadAndIncrease functions to not do that.

File:
1 edited

Legend:

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

    r11071 r11083  
    489489Gamestate* Gamestate::diffVariables(Gamestate *base)
    490490{
    491   assert(this && base); assert(data_ && base->data_);
     491  assert(base); assert(data_ && base->data_);
    492492  assert(!header_.isCompressed() && !base->header_.isCompressed());
    493493  assert(!header_.isDiffed());
Note: See TracChangeset for help on using the changeset viewer.