COIN-OR::LEMON - Graph Library

Changeset 389:770cc1f4861f in lemon-0.x for src/include/maps.h


Ignore:
Timestamp:
04/24/04 14:44:41 (18 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@520
Message:

modifications for better compatibility with gcc 3.4.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/include/maps.h

    r346 r389  
    9393   
    9494    template<typename T1, typename Comp1>
    95     StdMap(const StdMap<Key,T1,Comp1> &m, const T &_v) { FIXME; }
     95    StdMap(const StdMap<Key,T1,Comp1> &m, const T &_v) {
     96      //FIXME;
     97    }
    9698
    9799    ReferenceType operator[](const Key &k) {
     
    99101    }
    100102    ConstReferenceType operator[](const Key &k) const {
    101       typename parent::iterator i = lower_bound(__k);
     103//marci jav      typename parent::iterator i = lower_bound(__k);
     104      typename parent::iterator i = lower_bound(k);
    102105      if (i == end() || key_comp()(k, (*i).first))
    103106        return v;
Note: See TracChangeset for help on using the changeset viewer.