Changeset 8006 in ntrip
- Timestamp:
- Aug 9, 2016, 11:30:37 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/ephemeris.cpp
r7923 r8006 36 36 //////////////////////////////////////////////////////////////////////////// 37 37 void t_eph::setOrbCorr(const t_orbCorr* orbCorr) { 38 delete _orbCorr; 38 if (_orbCorr) { 39 delete _orbCorr; 40 _orbCorr = 0; 41 } 39 42 _orbCorr = new t_orbCorr(*orbCorr); 40 43 } … … 43 46 //////////////////////////////////////////////////////////////////////////// 44 47 void t_eph::setClkCorr(const t_clkCorr* clkCorr) { 45 delete _clkCorr; 48 if (_clkCorr) { 49 delete _clkCorr; 50 _clkCorr = 0; 51 } 46 52 _clkCorr = new t_clkCorr(*clkCorr); 47 53 }
Note:
See TracChangeset
for help on using the changeset viewer.