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/modules/overlays/hud/ChatOverlay.cc

    r11071 r11083  
    7373        Timer* timer = new Timer();
    7474        this->timers_.insert(timer); // store the timer in a set to destroy it in the destructor
    75         const ExecutorPtr& executor = createExecutor(createFunctor(&ChatOverlay::dropMessage, this));
     75        const ExecutorPtr executor = createExecutor(createFunctor(&ChatOverlay::dropMessage, this));
    7676        executor->setDefaultValues(timer);
    7777        timer->setTimer(this->displayTime_, false, executor, true);
Note: See TracChangeset for help on using the changeset viewer.