Ignore:
Timestamp:
Dec 11, 2017, 3:00:40 PM (6 years ago)
Author:
wiese
Message:

CHANGE: #105 toAscii deprecated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP_SSR_I/pppFilter.cpp

    r7974 r8204  
    648648      ++par->numEpo;
    649649      LOG << "\n" << _time.datestr() << "_" << _time.timestr(3)
    650           << " AMB " << par->prn.mid(0,3).toAscii().data() << " "
     650          << " AMB " << par->prn.mid(0,3).toLatin1().data() << " "
    651651          << setw(10) << setprecision(3) << par->xx
    652652          << " +- " << setw(6) << setprecision(3)
     
    657657      double aprTrp = delay_saast(M_PI/2.0);
    658658      LOG << "\n" << _time.datestr() << "_" << _time.timestr(3)
    659           << " TRP     " << par->prn.mid(0,3).toAscii().data()
     659          << " TRP     " << par->prn.mid(0,3).toLatin1().data()
    660660          << setw(7) << setprecision(3) << aprTrp << " "
    661661          << setw(6) << setprecision(3) << showpos << par->xx << noshowpos
     
    757757  if      (iPhase == 1) {
    758758    if      (maxResGlo > 2.98 * OPT->_maxResL1) {
    759       LOG << "Outlier Phase " << prnGlo.mid(0,3).toAscii().data() << ' ' << maxResGlo << endl;
     759      LOG << "Outlier Phase " << prnGlo.mid(0,3).toLatin1().data() << ' ' << maxResGlo << endl;
    760760      return prnGlo;
    761761    }
    762762    else if (maxResGPS > MAXRES_PHASE_GPS) {
    763       LOG << "Outlier Phase " << prnGPS.mid(0,3).toAscii().data() << ' ' << maxResGPS << endl;
     763      LOG << "Outlier Phase " << prnGPS.mid(0,3).toLatin1().data() << ' ' << maxResGPS << endl;
    764764      return prnGPS;
    765765    }
    766766  }
    767767  else if (iPhase == 0 && maxResGPS > 2.98 * OPT->_maxResC1) {
    768     LOG << "Outlier Code  " << prnGPS.mid(0,3).toAscii().data() << ' ' << maxResGPS << endl;
     768    LOG << "Outlier Code  " << prnGPS.mid(0,3).toLatin1().data() << ' ' << maxResGPS << endl;
    769769    return prnGPS;
    770770  }
     
    967967    if (satData->obsIndex != 0 && useObs) {
    968968      str << _time.datestr() << "_" << _time.timestr(3)
    969           << " RES " << satData->prn.mid(0,3).toAscii().data()
     969          << " RES " << satData->prn.mid(0,3).toLatin1().data()
    970970          << (iPhase ? "   L3 " : "   P3 ")
    971971          << setw(9) << setprecision(4) << vv(satData->obsIndex) << endl;
     
    11321132            LOG << "Neglected PRNs: ";
    11331133            if (!_outlierGPS.isEmpty()) {
    1134               LOG << _outlierGPS.last().mid(0,3).toAscii().data() << ' ';
     1134              LOG << _outlierGPS.last().mid(0,3).toLatin1().data() << ' ';
    11351135            }
    11361136            QStringListIterator itGlo(_outlierGlo);
    11371137            while (itGlo.hasNext()) {
    11381138              QString prn = itGlo.next();
    1139               LOG << prn.mid(0,3).toAscii().data() << ' ';
     1139              LOG << prn.mid(0,3).toLatin1().data() << ' ';
    11401140            }
    11411141            LOG << endl;
Note: See TracChangeset for help on using the changeset viewer.