Changeset 3009 in ntrip


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

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncephuser.cpp

    r2914 r3009  
    9191    t_ephGPS* eLast = new t_ephGPS();
    9292    eLast->set(&gpseph);
    93     _eph.insert(prn, new t_ephPair());
    94     _eph[prn]->last = eLast;
     93    _eph.insert(prn, new t_ephPair(eLast));
    9594  }
    9695}
     
    119118    t_ephGlo* eLast = new t_ephGlo();
    120119    eLast->set(&gloeph);
    121     _eph.insert(prn, new t_ephPair());
    122     _eph[prn]->last = eLast;
     120    _eph.insert(prn, new t_ephPair(eLast));
    123121  }
    124122}
     
    145143    t_ephGal* eLast = new t_ephGal();
    146144    eLast->set(&galeph);
    147     _eph.insert(prn, new t_ephPair());
    148     _eph[prn]->last = eLast;
     145    _eph.insert(prn, new t_ephPair(eLast));
    149146  }
    150147}
  • trunk/BNC/bncephuser.h

    r2914 r3009  
    4242    raoSet  = false;
    4343    dClkSet = false;
     44    eph     = 0;
    4445  }
    4546  bool ready() {return raoSet && dClkSet;}
     
    6768  bool         raoSet;
    6869  bool         dClkSet;
     70  t_eph*       eph;
    6971};
    7072
     
    8587  class t_ephPair {
    8688   public:
    87     t_ephPair() {
    88       last = 0;
     89    t_ephPair(t_eph* lastEph) {
     90      last = lastEph;
    8991      prev = 0;
    9092    }
Note: See TracChangeset for help on using the changeset viewer.