Changeset 9298 in ntrip for branches/BNC_2.12/src


Ignore:
Timestamp:
Dec 4, 2020, 1:54:00 PM (3 years ago)
Author:
stuerze
Message:

small bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bncephuser.cpp

    r9274 r9298  
    170170      newEph->checkState() != t_eph::outdated) {
    171171    deque<t_eph*>& qq = _eph[prn];
    172     if (qq.empty() || newEph->isNewerThan(qq.back())){
     172    if (qq.empty() ||
     173        newEph->isNewerThan(qq.back())){
    173174      qq.push_back(newEph);
     175    }
     176    else {
     177      delete newEph;
    174178    }
    175179    if (qq.size() > _maxQueueSize) {
Note: See TracChangeset for help on using the changeset viewer.