COIN-OR::LEMON - Graph Library

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

    r393 r420  
    367367    /// \pre Either \ref run() or \ref init() must be called before
    368368    /// using this function.
    369     const Elevator& elevator() {
     369    const Elevator& elevator() const {
    370370      return *_level;
    371371    }
     
    919919    /// \pre Either \ref run() or \ref init() must be called before
    920920    /// using this function.
    921     const FlowMap& flowMap() {
     921    const FlowMap& flowMap() const {
    922922      return *_flow;
    923923    }
Note: See TracChangeset for help on using the changeset viewer.