COIN-OR::LEMON - Graph Library

Changeset 420:6a2a33ad261b in lemon-1.2 for lemon/bfs.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/bfs.h

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