Changeset 8204 in ntrip for trunk/BNC/src/bncsp3.cpp


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/bncsp3.cpp

    r8084 r8204  
    3232  _prevEpoch = 0;
    3333
    34   _stream.open(fileName.toAscii().data());
     34  _stream.open(fileName.toLatin1().data());
    3535  if (!_stream.good()) {
    3636    throw "t_sp3File: cannot open file " + fileName;
     
    8787    }
    8888
    89     _out << "P" << prn.toAscii().data()
     89    _out << "P" << prn.toLatin1().data()
    9090         << setw(14) << setprecision(6) << xCoM(1) / 1000.0
    9191         << setw(14) << setprecision(6) << xCoM(2) / 1000.0
     
    126126  }
    127127
    128   _out << "#aP" << datTim.toString("yyyy MM dd hh mm").toAscii().data()
     128  _out << "#aP" << datTim.toString("yyyy MM dd hh mm").toLatin1().data()
    129129       << setw(12) << setprecision(8) << sec
    130130       << " " << setw(7) << numEpo << " ORBIT IGS14 HLM  IGS" << endl;
Note: See TracChangeset for help on using the changeset viewer.