- Timestamp:
- Mar 23, 2009, 11:12:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp/src/network/synchronisable/Synchronisable.h
r2822 r2823 33 33 34 34 #include <list> 35 #include <vector> 35 36 #include <map> 36 37 #include <queue> … … 156 157 uint32_t classID; 157 158 158 std:: list<SynchronisableVariableBase*> syncList;159 std:: list<SynchronisableVariableBase*> stringList;159 std::vector<SynchronisableVariableBase*> syncList; 160 std::vector<SynchronisableVariableBase*> stringList; 160 161 uint32_t dataSize_; //size of all variables except strings 161 162 static uint8_t state_; // detemines wheter we are server (default) or client … … 196 197 197 198 // template <class T> void Synchronisable::unregisterVariable(T& var){ 198 // std:: list<SynchronisableVariableBase*>::iterator it = syncList.begin();199 // std::vector<SynchronisableVariableBase*>::iterator it = syncList.begin(); 199 200 // while(it!=syncList.end()){ 200 201 // if( ((*it)->getReference()) == &var ){
Note: See TracChangeset
for help on using the changeset viewer.