diff -r ad483acf1654 -r 6a2a33ad261b lemon/preflow.h --- a/lemon/preflow.h Tue Dec 02 15:33:22 2008 +0000 +++ b/lemon/preflow.h Fri Dec 05 00:22:47 2008 +0100 @@ -366,7 +366,7 @@ /// /// \pre Either \ref run() or \ref init() must be called before /// using this function. - const Elevator& elevator() { + const Elevator& elevator() const { return *_level; } @@ -918,7 +918,7 @@ /// /// \pre Either \ref run() or \ref init() must be called before /// using this function. - const FlowMap& flowMap() { + const FlowMap& flowMap() const { return *_flow; }