Changeset 8401 in ntrip for trunk/BNC/src/PPP/pppEphPool.cpp
- Timestamp:
- Jun 29, 2018, 1:21:43 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppEphPool.cpp
r8215 r8401 82 82 ///////////////////////////////////////////////////////////////////////////// 83 83 void t_pppEphPool::t_satEphPool::putOrbCorrection(t_orbCorr* corr) { 84 if (_ephs.empty()) { 85 return; 86 } 87 84 88 for (unsigned ii = 0; ii < _ephs.size(); ii++) { 85 89 t_eph* eph = _ephs[ii]; … … 94 98 ///////////////////////////////////////////////////////////////////////////// 95 99 void t_pppEphPool::t_satEphPool::putClkCorrection(t_clkCorr* corr) { 100 if (_ephs.empty()) { 101 return; 102 } 103 96 104 for (unsigned ii = 0; ii < _ephs.size(); ii++) { 97 105 t_eph* eph = _ephs[ii]; … … 107 115 t_irc t_pppEphPool::t_satEphPool::getCrd(const bncTime& tt, ColumnVector& xc, 108 116 ColumnVector& vv) const { 117 if (_ephs.empty()) { 118 return failure; 119 } 120 109 121 for (unsigned ii = 0; ii < _ephs.size(); ii++) { 110 122 t_eph* eph = _ephs[ii]; … … 126 138 ///////////////////////////////////////////////////////////////////////////// 127 139 int t_pppEphPool::t_satEphPool::getChannel() const { 128 if ( _ephs.size() > 0) {140 if (!_ephs.empty()) { 129 141 return _ephs[0]->slotNum(); 130 142 }
Note:
See TracChangeset
for help on using the changeset viewer.