Changeset 6581 in ntrip


Ignore:
Timestamp:
Feb 4, 2015, 5:13:33 PM (10 years ago)
Author:
stuerze
Message:

try to prevent crash in RTCM2Decoder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/satObs.h

    r6556 r6581  
    5252    }
    5353  }
    54   ~t_satObs() {for (unsigned ii = 0; ii < _obs.size(); ii++) delete _obs[ii];}
     54  ~t_satObs() {while(!_obs.empty()) {_obs.pop_back();}}
     55
    5556  std::string            _staID;
    5657  t_prn                  _prn;
Note: See TracChangeset for help on using the changeset viewer.