Changeset 8706 in ntrip for branches/BNC_2.12
- Timestamp:
- Apr 29, 2019, 11:51:06 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bncephuser.cpp
r8704 r8706 120 120 } 121 121 122 checkEphemeris(eph, realTime);123 124 125 122 const t_ephGPS* ephGPS = dynamic_cast<const t_ephGPS*>(eph); 126 123 const t_ephGlo* ephGlo = dynamic_cast<const t_ephGlo*>(eph); … … 160 157 } 161 158 162 if ((ephOld == 0 || newEph->isNewerThan(ephOld)) && 163 (eph->checkState() != t_eph::bad && 164 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) { 165 169 deque<t_eph*>& qq = _eph[prn]; 166 170 qq.push_back(newEph);
Note:
See TracChangeset
for help on using the changeset viewer.