Changeset 3840 in ntrip for trunk/BNC/rinex


Ignore:
Timestamp:
Apr 12, 2012, 12:12:51 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/rinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/rnxobsfile.h

    r3838 r3840  
    4040class t_rnxObsFile {
    4141 public:
     42
     43  static bool earlierStartTime(const t_rnxObsFile* file1, const t_rnxObsFile* file2) {
     44    return file1->startTime() < file2->startTime();
     45  }
    4246
    4347  class t_rnxSat {
  • trunk/BNC/rinex/teqcedit.cpp

    r3839 r3840  
    7070    _rnxObsFiles.append(rnxObsFile);
    7171  }
     72  qStableSort(_rnxObsFiles.begin(), _rnxObsFiles.end(),
     73              t_rnxObsFile::earlierStartTime);
    7274
    7375  emit finished();
Note: See TracChangeset for help on using the changeset viewer.