Changeset 2455 for code/branches/physics_merge/src/network
- Timestamp:
- Dec 14, 2008, 11:16:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics_merge/src/network/synchronisable/NetworkCallbackManager.cc
r2436 r2455 52 52 void NetworkCallbackManager::triggerCallback(NetworkCallbackBase *cb) 53 53 { 54 if (triggeredCallbacks_. front() != cb)54 if (triggeredCallbacks_.empty() || triggeredCallbacks_.front() != cb) 55 55 triggeredCallbacks_.push(cb); 56 56 }
Note: See TracChangeset
for help on using the changeset viewer.