lemon/preflow.h
changeset 420 6a2a33ad261b
parent 393 37054b67d807
child 440 88ed40ad0d4f
     1.1 --- a/lemon/preflow.h	Tue Dec 02 15:33:22 2008 +0000
     1.2 +++ b/lemon/preflow.h	Fri Dec 05 00:22:47 2008 +0100
     1.3 @@ -366,7 +366,7 @@
     1.4      ///
     1.5      /// \pre Either \ref run() or \ref init() must be called before
     1.6      /// using this function.
     1.7 -    const Elevator& elevator() {
     1.8 +    const Elevator& elevator() const {
     1.9        return *_level;
    1.10      }
    1.11  
    1.12 @@ -918,7 +918,7 @@
    1.13      ///
    1.14      /// \pre Either \ref run() or \ref init() must be called before
    1.15      /// using this function.
    1.16 -    const FlowMap& flowMap() {
    1.17 +    const FlowMap& flowMap() const {
    1.18        return *_flow;
    1.19      }
    1.20