Changeset 6809 in ntrip for trunk/BNC/src/bncephuser.cpp
- Timestamp:
- Apr 30, 2015, 10:37:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncephuser.cpp
r6798 r6809 150 150 } 151 151 152 QString prn(newEph->prn().to String().c_str());152 QString prn(newEph->prn().toInternalString().c_str()); 153 153 154 154 const t_eph* ephOld = ephLast(prn); 155 155 156 if (ephOld == 0 || 157 newEph->isNewerThan(ephOld) || 158 newEph->hasOtherFlagsThan(ephOld)) { 156 if (ephOld == 0 || newEph->isNewerThan(ephOld)) { 159 157 deque<t_eph*>& qq = _eph[prn]; 160 158 qq.push_back(newEph); … … 201 199 // ---------------------------------------- 202 200 const double MAXDIFF = 1000.0; 203 QString prn = QString(eph->prn().to String().c_str());201 QString prn = QString(eph->prn().toInternalString().c_str()); 204 202 t_eph* ephL = ephLast(prn); 205 203 if (ephL) { … … 212 210 213 211 if (diff < MAXDIFF) { 214 if(dt != 0.0 || eph->hasOtherFlagsThan(ephL)) {212 if(dt != 0.0) { 215 213 eph->setCheckState(t_eph::ok); 216 214 ephL->setCheckState(t_eph::ok);
Note:
See TracChangeset
for help on using the changeset viewer.