COIN-OR::LEMON - Graph Library

Changeset 2618:6aa6fcaeaea5 in lemon-0.x for lemon/list_graph.h


Ignore:
Timestamp:
09/19/08 17:14:41 (11 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3503
Message:

G++-4.3 compatibility changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/list_graph.h

    r2553 r2618  
    119119      for(n = first_node;
    120120          n!=-1 && nodes[n].first_in == -1;
    121           n = nodes[n].next);
     121          n = nodes[n].next) { }
    122122      e.id = (n == -1) ? -1 : nodes[n].first_in;
    123123    }
     
    129129        int n;
    130130        for(n = nodes[edges[edge.id].target].next;
    131           n!=-1 && nodes[n].first_in == -1;
    132           n = nodes[n].next);
     131            n!=-1 && nodes[n].first_in == -1;
     132            n = nodes[n].next) { }
    133133        edge.id = (n == -1) ? -1 : nodes[n].first_in;
    134134      }     
Note: See TracChangeset for help on using the changeset viewer.