COIN-OR::LEMON - Graph Library

Changeset 778:a143f19f465b in lemon-1.2 for lemon/hypercube_graph.h


Ignore:
Timestamp:
09/29/09 13:03:34 (10 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Make some graph member functions static (#311, #68)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/hypercube_graph.h

    r617 r778  
    263263    }
    264264
    265     int index(Node node) const {
     265    static int index(Node node) {
    266266      return node._id;
    267267    }
     
    338338    /// Gives back the index of the given node.
    339339    /// The lower bits of the integer describes the node.
    340     int index(Node node) const {
     340    static int index(Node node) {
    341341      return Parent::index(node);
    342342    }
Note: See TracChangeset for help on using the changeset viewer.