COIN-OR::LEMON - Graph Library

Changeset 2201:597714206430 in lemon-0.x


Ignore:
Timestamp:
09/06/06 12:10:48 (18 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2926
Message:

Bug fix in DescriptorMap?
Avoiding the possibility of the memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/graph_utils.h

    r2186 r2201  
    12611261    /// Constructor for descriptor map.
    12621262    DescriptorMap(const Graph& _graph) : Map(_graph) {
    1263       build();
     1263      Item it;
     1264      const typename Map::Notifier* notifier = Map::getNotifier();
     1265      for (notifier->first(it); it != INVALID; notifier->next(it)) {
     1266        Map::set(it, invMap.size());
     1267        invMap.push_back(it);   
     1268      }     
    12641269    }
    12651270
Note: See TracChangeset for help on using the changeset viewer.