Changeset 2940
- Timestamp:
- Apr 29, 2009, 7:05:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp2/src/network/synchronisable/Synchronisable.h
r2937 r2940 186 186 { 187 187 if (bidirectional) 188 { 188 189 syncList.push_back(new SynchronisableVariableBidirectional<const T>(variable, mode, cb)); 190 this->dataSize_ += syncList.back()->getSize(state_); 191 } 189 192 else 193 { 190 194 syncList.push_back(new SynchronisableVariable<const T>(variable, mode, cb)); 191 if ( this->state_ == mode ) 192 this->dataSize_ += syncList.back()->getSize(state_); 195 if ( this->state_ == mode ) 196 this->dataSize_ += syncList.back()->getSize(state_); 197 } 193 198 } 194 199
Note: See TracChangeset
for help on using the changeset viewer.