Changeset 8956 in ntrip for trunk/BNC/src/PPP/pppObsPool.cpp
- Timestamp:
- Jun 23, 2020, 11:58:46 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppObsPool.cpp
r8911 r8956 100 100 const unsigned MAXSIZE = 2; 101 101 102 if (refSatChangeRequired()) { 103 delete _epochs.back(); 104 _epochs.pop_back(); 105 } 106 _epochs.push_back(new t_epoch(epoTime, obsVector,pseudoObsIono)); 102 _epochs.push_back(new t_epoch(epoTime, obsVector, pseudoObsIono)); 103 107 104 if (_epochs.size() > MAXSIZE) { 108 105 delete _epochs.front(); … … 110 107 } 111 108 } 109 110 // 111 ///////////////////////////////////////////////////////////////////////////// 112 void t_pppObsPool::deleteLastEpoch() { 113 114 if (!_epochs.empty()) { 115 delete _epochs.back(); 116 _epochs.pop_back(); 117 } 118 }
Note:
See TracChangeset
for help on using the changeset viewer.