Changeset 6448 in ntrip for trunk/BNC/src/bncrinex.cpp


Ignore:
Timestamp:
Dec 26, 2014, 4:38:26 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncrinex.cpp

    r6252 r6448  
    387387// Write One Epoch into the RINEX File
    388388////////////////////////////////////////////////////////////////////////////
    389 void bncRinex::dumpEpoch(const QByteArray& format, long maxTime) {
     389void bncRinex::dumpEpoch(const QByteArray& format, const bncTime& maxTime) {
    390390
    391391  // Select observations older than maxTime
     
    395395  while (mIt.hasNext()) {
    396396    t_satObs obs = mIt.next();
    397     if (obs._time.gpsw() * 7*24*3600 + obs._time.gpssec() < maxTime - 0.05) {
     397    if (obs._time < maxTime) {
    398398      obsList.push_back(obs);
    399399      mIt.remove();
Note: See TracChangeset for help on using the changeset viewer.