Changeset 5808 in orxonox.OLD for branches/network/src/subprojects/network/simple_sync.cc
- Timestamp:
- Nov 28, 2005, 9:07:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/subprojects/network/simple_sync.cc
r5806 r5808 31 31 : Synchronizeable(name) 32 32 { 33 /* define the local buffer size */ 33 34 this->outLength = 10; 34 35 this->recLength = 0; … … 37 38 this->inData = new byte[this->inLength]; 38 39 40 /* init the buffer data */ 39 41 for( int i = 0; i < this->outLength; i++) 40 42 { … … 54 56 SimpleSync::~SimpleSync() 55 57 { 58 if( this->outData) 59 delete[] this->outData; 60 if( this->inData) 61 delete[] this->inData; 56 62 } 57 63
Note: See TracChangeset
for help on using the changeset viewer.