Changeset 3571 in ntrip for branches/BNC_LM/combination
- Timestamp:
- Dec 25, 2011, 7:27:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/BNC_LM/combination/bnccomb.cpp ¶
r3503 r3571 257 257 delete _params[iPar-1]; 258 258 } 259 QVectorIterator<cmbCorr*> itCorr(corrs()); 260 while (itCorr.hasNext()) { 261 delete itCorr.next(); 259 QListIterator<bncTime> itTime(_buffer.keys()); 260 while (itTime.hasNext()) { 261 bncTime epoTime = itTime.next(); 262 _buffer.remove(epoTime); 262 263 } 263 264 } … … 355 356 while (itCorr.hasNext()) { 356 357 cmbCorr* hlp = itCorr.next(); 357 if (hlp->prn == newCorr->prn && hlp->acName == newCorr-> prn) {358 if (hlp->prn == newCorr->prn && hlp->acName == newCorr->acName) { 358 359 existingCorr = hlp; 359 360 break; … … 875 876 } 876 877 if (!foundMaster) { 878 delete corr; 877 879 it.remove(); 878 880 } … … 973 975 if (maxRes > _MAXRES) { 974 976 out << " Outlier" << endl; 977 delete corrs()[maxResIndex-1]; 975 978 corrs().remove(maxResIndex-1); 976 979 } … … 1010 1013 if (_eph.find(prn) == _eph.end()) { 1011 1014 out << "checkOrbit: missing eph (not found) " << corr->prn << endl; 1015 delete corr; 1012 1016 im.remove(); 1013 1017 } 1014 1018 else if (corr->eph == 0) { 1015 1019 out << "checkOrbit: missing eph (zero) " << corr->prn << endl; 1020 delete corr; 1016 1021 im.remove(); 1017 1022 } … … 1022 1027 else { 1023 1028 out << "checkOrbit: missing eph (deleted) " << corr->prn << endl; 1029 delete corr; 1024 1030 im.remove(); 1025 1031 } … … 1086 1092 QString prn = corr->prn; 1087 1093 if (numCorr[prn] < 2) { 1094 delete corr; 1088 1095 im.remove(); 1089 1096 } … … 1098 1105 << corr->iod << " " 1099 1106 << norm << endl; 1107 delete corr; 1100 1108 im.remove(); 1101 1109 removed = true;
Note:
See TracChangeset
for help on using the changeset viewer.