Changeset 2711 in ntrip for trunk/BNC/GPSS


Ignore:
Timestamp:
Nov 18, 2010, 1:38:51 PM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/GPSS/gpssDecoder.cpp

    r2710 r2711  
    9999            for (int is = 0; is < epochHdr.n_svs; is++) {
    100100              obsFound = true;
    101               t_obs* obs = new t_obs();
    102               memcpy(obs, _buffer.data() + 2 + sizeof(recordSize) +
     101              t_obs obs;
     102              memcpy(&obs, _buffer.data() + 2 + sizeof(recordSize) +
    103103                     sizeof(epochHdr) + is * sizeof(t_obs), sizeof(t_obs));
    104104              _obsList.push_back(obs);
Note: See TracChangeset for help on using the changeset viewer.