Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11784 for code/trunk


Ignore:
Timestamp:
Feb 20, 2018, 9:18:58 PM (7 years ago)
Author:
landauf
Message:

this looks like a bug (detected by cppcheck → https://www.orxonox.net/jenkins/view/Quality/job/orxonox_qc_trunk_checks/20/cppcheckResult/)

File:
1 edited

Legend:

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

    r11071 r11784  
    7474    OrxAssert( Host::getActiveInstance(), "No Host class existing" );
    7575    if( it->second.first <= Host::getActiveInstance()->getLastReceivedGamestateID(it->second.second) && it->first.execute() )
    76       FunctionCallManager::sIncomingFunctionCallBuffer_.erase(it);
     76      FunctionCallManager::sIncomingFunctionCallBuffer_.erase(it++);
    7777    else
    7878    {
Note: See TracChangeset for help on using the changeset viewer.