Changeset 6546 in ntrip


Ignore:
Timestamp:
Jan 17, 2015, 3:24:28 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/orbComp/sp3Comp.cpp

    r6545 r6546  
    306306      }
    307307      else {
    308         epoch->_dr.erase(prn);
    309         epoch->_dc.erase(prn);
     308        if (epoch) {
     309          if (epoch->_dr.find(prn) != epoch->_dr.end()) {
     310            epoch->_dr.erase(prn);
     311          }
     312          if (epoch->_dc.find(prn) != epoch->_dc.end()) {
     313            epoch->_dc.erase(prn);
     314          }
     315        }
    310316      }
    311317    }
Note: See TracChangeset for help on using the changeset viewer.