COIN-OR::LEMON - Graph Library

Changeset 391:ddf25b2fa6ab in lemon-0.x


Ignore:
Timestamp:
04/24/04 15:24:42 (20 years ago)
Author:
beckerjc
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@522
Message:

StdMap? compiles with 3.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/include/maps.h

    r389 r391  
    101101    }
    102102    ConstReferenceType operator[](const Key &k) const {
    103 //marci jav      typename parent::iterator i = lower_bound(__k);
    104103      typename parent::iterator i = lower_bound(k);
    105       if (i == end() || key_comp()(k, (*i).first))
     104      if (i == parent::end() || parent::key_comp()(k, (*i).first))
    106105        return v;
    107106      return (*i).second;
Note: See TracChangeset for help on using the changeset viewer.