Changeset 10318 in ntrip


Ignore:
Timestamp:
Jan 25, 2024, 11:31:29 AM (10 months ago)
Author:
stuerze
Message:

bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/rnxnavfile.cpp

    r10316 r10318  
    243243      eph = new t_ephGPS(version(), lines);
    244244    }
    245     else {
    246       continue;
    247     }
    248     if (version() >= 5.0) {
     245   
     246    if (version() >= 4.0) {
    249247      if (eph->setNavType(navTypeStr) != success) {
    250248        delete eph;
     
    252250      }
    253251    }
    254 
    255     _ephs.push_back(eph);
     252   
     253    if (eph) {
     254      _ephs.push_back(eph);
     255    }
    256256  }
    257257}
Note: See TracChangeset for help on using the changeset viewer.