diff -r 994c7df296c9 -r 1b89e29c9fc7 test/preflow_test.cc --- a/test/preflow_test.cc Thu Dec 10 17:05:35 2009 +0100 +++ b/test/preflow_test.cc Thu Dec 10 17:18:25 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)