diff -r c160bf9f18ef -r 580af8cf2f6a test/preflow_test.cc --- a/test/preflow_test.cc Thu Nov 05 10:01:02 2009 +0100 +++ b/test/preflow_test.cc Thu Nov 05 10:23:16 2009 +0100 @@ -94,6 +94,11 @@ ::Create PreflowType; PreflowType preflow_test(g, cap, n, n); const PreflowType& const_preflow_test = preflow_test; + + const PreflowType::Elevator& elev = const_preflow_test.elevator(); + preflow_test.elevator(const_cast(elev)); + PreflowType::Tolerance tol = const_preflow_test.tolerance(); + preflow_test.tolerance(tol); preflow_test .capacityMap(cap)