Changeset 8443 in ntrip for branches/BNC_2.12/src/PPP/pppEphPool.cpp
- Timestamp:
- Aug 9, 2018, 2:44:32 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/PPP/pppEphPool.cpp
r8216 r8443 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.