Changeset 5584 in ntrip


Ignore:
Timestamp:
Nov 27, 2013, 6:03:17 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r5583 r5584  
    11621162    bncTime epoTime = itTime.next();
    11631163    QVector<cmbCorr*>& corrVec = _buffer[epoTime].corrs;
    1164 
    1165     QVectorIterator<cmbCorr*> it(corrVec);
     1164    QMutableVectorIterator<cmbCorr*> it(corrVec);
    11661165    while (it.hasNext()) {
    11671166      cmbCorr* corr = it.next();
    11681167      if (acName == corr->acName) {
    1169 
    1170       }
    1171     }
    1172   }
    1173 }
     1168        delete corr;
     1169        it.remove();
     1170      }
     1171    }
     1172  }
     1173}
Note: See TracChangeset for help on using the changeset viewer.