COIN-OR::LEMON - Graph Library

Changeset 420:6a2a33ad261b in lemon-1.2 for lemon/dfs.h


Ignore:
Timestamp:
12/05/08 00:22:47 (11 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Add missing 'const' for query functions of algorithms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/dfs.h

    r405 r420  
    16261626    /// \pre Either \ref run(Node) "run()" or \ref init()
    16271627    /// must be called before using this function.
    1628     bool reached(Node v) { return (*_reached)[v]; }
     1628    bool reached(Node v) const { return (*_reached)[v]; }
    16291629
    16301630    ///@}
Note: See TracChangeset for help on using the changeset viewer.