Changeset 3010 in ntrip


Ignore:
Timestamp:
Feb 22, 2011, 5:57:41 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncephuser.cpp

    r3009 r3010  
    9191    t_ephGPS* eLast = new t_ephGPS();
    9292    eLast->set(&gpseph);
    93     _eph.insert(prn, new t_ephPair(eLast));
     93    _eph.insert(prn, new t_ephPair());
     94    _eph[prn]->last = eLast;
    9495  }
    9596}
     
    118119    t_ephGlo* eLast = new t_ephGlo();
    119120    eLast->set(&gloeph);
    120     _eph.insert(prn, new t_ephPair(eLast));
     121    _eph.insert(prn, new t_ephPair());
     122    _eph[prn]->last = eLast;
    121123  }
    122124}
     
    143145    t_ephGal* eLast = new t_ephGal();
    144146    eLast->set(&galeph);
    145     _eph.insert(prn, new t_ephPair(eLast));
     147    _eph.insert(prn, new t_ephPair());
     148    _eph[prn]->last = eLast;
    146149  }
    147150}
  • trunk/BNC/bncephuser.h

    r3009 r3010  
    4242    raoSet  = false;
    4343    dClkSet = false;
    44     eph     = 0;
    4544  }
    4645  bool ready() {return raoSet && dClkSet;}
     
    6867  bool         raoSet;
    6968  bool         dClkSet;
    70   t_eph*       eph;
    7169};
    7270
     
    8785  class t_ephPair {
    8886   public:
    89     t_ephPair(t_eph* lastEph) {
    90       last = lastEph;
     87    t_ephPair() {
     88      last = 0;
    9189      prev = 0;
    9290    }
Note: See TracChangeset for help on using the changeset viewer.