Changeset 3970 in ntrip


Ignore:
Timestamp:
Apr 20, 2012, 2:31:10 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/rnxobsfile.cpp

    r3969 r3970  
    624624              if (_header._obsTypesV2[i2] == typeV2) {
    625625                found = true;
    626                 _indexMap2to3[sys][i2] = i3;
     626                map<int, int>::const_iterator it2 = _indexMap2to3[sys].find(i2);
     627                if (it2 == _indexMap2to3[sys].end()) {
     628                  _indexMap2to3[sys][i2] = i3;
     629                }
    627630                break;
    628631              }
Note: See TracChangeset for help on using the changeset viewer.