Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1794 for code/branches


Ignore:
Timestamp:
Sep 17, 2008, 8:23:24 PM (16 years ago)
Author:
scheusso
Message:

some security assert in synchronisable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/Synchronisable.cc

    r1793 r1794  
    189189    COUT(5) << "Syncronisable::objectID: " << objectID << " this: " << this << " name: " << this->getIdentifier()->getName() << " networkID: " << this->getIdentifier()->getNetworkID() << std::endl;
    190190    syncList->push_back(temp);
     191#ifndef NDEBUG
     192    std::list<synchronisableVariable *>::iterator it = syncList->begin();
     193    while(it!=syncList->end()){
     194      assert(*it!=var);
     195      it++;
     196    }
     197#endif
    191198  }
    192199 
Note: See TracChangeset for help on using the changeset viewer.