Changeset 9297 in ntrip


Ignore:
Timestamp:
Dec 4, 2020, 1:50:26 PM (3 months ago)
Author:
stuerze
Message:

small bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncephuser.cpp

    r9273 r9297  
    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.