diff -r 10c9c3a35b83 -r 8e68671af789 test/preflow_test.cc --- a/test/preflow_test.cc Wed Sep 30 08:36:43 2009 +0200 +++ b/test/preflow_test.cc Wed Sep 30 08:41:06 2009 +0200 @@ -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)