Changeset 3553 in ntrip for trunk/BNC/combination/bnccomb.cpp
- Timestamp:
- Dec 23, 2011, 8:37:51 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3551 r3553 257 257 delete _params[iPar-1]; 258 258 } 259 QListIterator< bncTime> itTime(_buffer.keys());259 QListIterator<unsigned long> itTime(_buffer.keys()); 260 260 while (itTime.hasNext()) { 261 261 _buffer.remove(itTime.next()); … … 339 339 // Process previous Epoch(s) 340 340 // ------------------------- 341 QListIterator< bncTime> itTime(_buffer.keys());341 QListIterator<unsigned long> itTime(_buffer.keys()); 342 342 while (itTime.hasNext()) { 343 bncTimeepoTime = itTime.next();344 if (epoTime < newCorr->tt - moduloTime) {345 _resTime = epoTime;343 unsigned long epoTime = itTime.next(); 344 if (epoTime < (newCorr->tt - moduloTime).longSec()) { 345 _resTime = _buffer[epoTime].tt(); 346 346 processEpoch(); 347 347 } … … 350 350 // Merge or add the correction 351 351 // --------------------------- 352 QVector<cmbCorr*>& corrs = _buffer[newCorr->tt ].corrs;352 QVector<cmbCorr*>& corrs = _buffer[newCorr->tt.longSec()].corrs; 353 353 cmbCorr* existingCorr = 0; 354 354 QVectorIterator<cmbCorr*> itCorr(corrs); … … 450 450 if (_masterMissingEpochs < 10) { 451 451 out << "Missing Master, Epoch skipped" << endl; 452 _buffer.remove(_resTime );452 _buffer.remove(_resTime.longSec()); 453 453 emit newMessage(_log, false); 454 454 return; … … 511 511 // Delete Data, emit Message 512 512 // ------------------------- 513 _buffer.remove(_resTime );513 _buffer.remove(_resTime.longSec()); 514 514 emit newMessage(_log, false); 515 515 }
Note:
See TracChangeset
for help on using the changeset viewer.