Changeset 2204 in ntrip for trunk/BNC/bncfigureppp.cpp
- Timestamp:
- Jan 6, 2010, 2:03:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncfigureppp.cpp
r2201 r2204 100 100 } 101 101 102 if (_pos.size() > MAXNUMPOS) { 103 delete _pos[0]; 104 _pos.pop_front(); 102 QMutableVectorIterator<pppPos*> it(_pos); 103 while (it.hasNext()) { 104 pppPos* pp = it.next(); 105 if ( (time - pp->time) > _tRange ) { 106 delete pp; 107 it.remove(); 108 } 105 109 } 106 110 … … 139 143 // ----------------------------------------------------- 140 144 if (_pos.size() > 1) { 141 _tRange = MAXNUMPOS;142 145 _tMin = _pos[0]->time.gpssec(); 143 146 … … 169 172 } 170 173 171 if (_neuMax > 0.0 && _tRange > 0.0) {174 if (_neuMax > 0.0) { 172 175 173 176 if (_neuMax < 0.15) {
Note:
See TracChangeset
for help on using the changeset viewer.