Changeset 3306 in ntrip


Ignore:
Timestamp:
Jun 17, 2011, 4:59:38 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r3305 r3306  
    468468        // ----------------------------------------------------
    469469        QMap<QString, long>::const_iterator it = _prnLastEpo.find(prn);
    470         if (it == _prnLastEpo.end()) {
    471           _prnLastEpo[prn] = obsTime;
    472         }
    473         else {
     470        if (it != _prnLastEpo.end()) {
    474471          long oldTime = it.value();
    475472          if      (obsTime <  oldTime) {
     
    483480            continue;
    484481          }
    485           else {
    486             _prnLastEpo[prn] = obsTime;
    487           }
    488         }
     482        }
     483        _prnLastEpo[prn] = obsTime;
    489484
    490485        // RINEX Output
Note: See TracChangeset for help on using the changeset viewer.