diff -r fb93895f84d9 -r 5795e130402e test/preflow_test.cc --- a/test/preflow_test.cc Thu Aug 20 22:52:16 2009 +0200 +++ b/test/preflow_test.cc Mon Aug 31 07:12:58 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)