Changeset 7862 in ntrip


Ignore:
Timestamp:
Apr 11, 2016, 2:21:08 PM (8 years ago)
Author:
stuerze
Message:

minor changes in bncsinex tro to save memory space during processing a lot of stations

File:
1 edited

Legend:

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

    r7848 r7862  
    3434  (!sampl) ? _sampl = 1 : _sampl =  sampl;
    3535
    36   if (!_opt->_antexFileName.empty()) {
    37     _antex = new bncAntex(_opt->_antexFileName.c_str());
    38   }
    39   else {
    40     _antex = 0;
    41   }
     36  _antex = 0;
    4237}
    4338
     
    149144  _out << "-SITE/ANTENNA" << endl << endl;
    150145
    151   if (_antex) {
     146  if (!_opt->_antexFileName.empty()) {
     147    _antex = new bncAntex(_opt->_antexFileName.c_str());
    152148    if (_opt->_LCsGPS.size()) {
    153149      _out << "+SITE/GPS_PHASE_CENTER" << endl;
     
    196192      _out << "-SITE/BEIDOU_PHASE_CENTER" << endl << endl;
    197193    }
     194    delete _antex;
     195    _antex = 0;
    198196  }
    199197
Note: See TracChangeset for help on using the changeset viewer.