COIN-OR::LEMON - Graph Library

Changeset 713:57c0b110b31e in lemon-0.x for src/hugo/full_graph.h


Ignore:
Timestamp:
07/20/04 12:58:11 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@965
Message:

Oops: "static" and "const" does not like each other.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/full_graph.h

    r710 r713  
    7878      e=InEdgeIt(*this,v); return e; }
    7979
    80     static bool valid(Edge e) const { return e.n!=-1; }
    81     static bool valid(Node n) const { return n.n!=-1; }
     80    static bool valid(Edge e) { return e.n!=-1; }
     81    static bool valid(Node n) { return n.n!=-1; }
    8282   
    8383    template <typename It> It getNext(It it) const
     
    9292    InEdgeIt& next(InEdgeIt& it) const
    9393    { if(!((++it.n)%NodeNum)) it.n=-1; return it; }
    94     static EdgeIt& next(EdgeIt& it) const { --it.n; return it; }
    95 
    96     static int id(Node v) const { return v.n; }
    97     static int id(Edge e) const { return e.n; }
     94    static EdgeIt& next(EdgeIt& it) { --it.n; return it; }
     95
     96    static int id(Node v) { return v.n; }
     97    static int id(Edge e) { return e.n; }
    9898
    9999    class Node {
Note: See TracChangeset for help on using the changeset viewer.