Changeset 8709 in ntrip
- Timestamp:
- Apr 29, 2019, 3:32:31 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncephuser.cpp
r8702 r8709 120 120 } 121 121 122 checkEphemeris(eph, realTime);123 124 122 const t_ephGPS* ephGPS = dynamic_cast<const t_ephGPS*>(eph); 125 123 const t_ephGlo* ephGlo = dynamic_cast<const t_ephGlo*>(eph); … … 159 157 } 160 158 161 if ((ephOld == 0 || newEph->isNewerThan(ephOld)) && 162 (eph->checkState() != t_eph::bad && 163 eph->checkState() != t_eph::outdated)) { 159 if (ephOld == 0 || newEph->isNewerThan(ephOld)) { 160 checkEphemeris(eph, realTime); 161 } 162 else { 163 delete newEph; 164 return failure; 165 } 166 167 if (eph->checkState() != t_eph::bad && 168 eph->checkState() != t_eph::outdated) { 164 169 deque<t_eph*>& qq = _eph[prn]; 165 170 qq.push_back(newEph);
Note:
See TracChangeset
for help on using the changeset viewer.