Changeset 8401 in ntrip for trunk/BNC/src/PPP/pppEphPool.h


Ignore:
Timestamp:
Jun 29, 2018, 1:21:43 PM (6 years ago)
Author:
stuerze
Message:

minor changes to prevent a crash of the program

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppEphPool.h

    r7237 r8401  
    1414    _maxQueueSize = maxQueueSize;
    1515  }
    16   ~t_pppEphPool() {}; 
     16  ~t_pppEphPool() {};
    1717
    1818  void putEphemeris(t_eph* eph);
     
    2020  void putClkCorrection(t_clkCorr* corr);
    2121
    22   t_irc getCrd(const t_prn& prn, const bncTime& tt, 
     22  t_irc getCrd(const t_prn& prn, const bncTime& tt,
    2323                    ColumnVector& xc, ColumnVector& vv) const;
    2424
     
    3535    t_satEphPool() {};
    3636    ~t_satEphPool() {
     37      if (_ephs.empty()) return;
    3738      for (unsigned ii = 0; ii < _ephs.size(); ii++) {
    3839        delete _ephs[ii];
     
    4243    void putOrbCorrection(t_orbCorr* corr);
    4344    void putClkCorrection(t_clkCorr* corr);
    44     t_irc getCrd(const bncTime& tt, 
     45    t_irc getCrd(const bncTime& tt,
    4546                      ColumnVector& xc, ColumnVector& vv) const;
    4647    int getChannel() const;
Note: See TracChangeset for help on using the changeset viewer.