COIN-OR::LEMON - Graph Library

Changeset 1367:a490662291b9 in lemon-0.x for src/lemon/graph_to_eps.h


Ignore:
Timestamp:
04/18/05 16:59:24 (16 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1812
Message:

More steps toward gcc-3.4 compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/graph_to_eps.h

    r1366 r1367  
    364364    bool operator()(Edge a,Edge b) const
    365365    {
    366       Node ai=min(g.source(a),g.target(a));
    367       Node aa=max(g.source(a),g.target(a));
    368       Node bi=min(g.source(b),g.target(b));
    369       Node ba=max(g.source(b),g.target(b));
     366      Node ai=std::min(g.source(a),g.target(a));
     367      Node aa=std::max(g.source(a),g.target(a));
     368      Node bi=std::min(g.source(b),g.target(b));
     369      Node ba=std::max(g.source(b),g.target(b));
    370370      return ai<bi ||
    371371        (ai==bi && (aa < ba ||
Note: See TracChangeset for help on using the changeset viewer.