Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-07-22 16:17:15 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:58:33 +0300
commitb6526cc5501ffb9f7b9ae5fdc081a2de61236290 (patch)
tree3ee2db2600ce0c5c5a6db324c53ec3ad2bbc2863 /integration_tests
parent2f1d252f98d5222cbb6ce6c5d8f2581ede68afb4 (diff)
Move a progress callback initialisation to the framework.
Diffstat (limited to 'integration_tests')
-rw-r--r--integration_tests/routing_test_tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration_tests/routing_test_tools.cpp b/integration_tests/routing_test_tools.cpp
index 8f12b391b4..80435c1427 100644
--- a/integration_tests/routing_test_tools.cpp
+++ b/integration_tests/routing_test_tools.cpp
@@ -98,7 +98,7 @@ namespace integration
shared_ptr<IRouter> CreatePedestrianRouter(Index & index)
{
- unique_ptr<IRouter> router = CreatePedestrianAStarBidirectionalRouter(index, nullptr, nullptr);
+ unique_ptr<IRouter> router = CreatePedestrianAStarBidirectionalRouter(index, nullptr);
return shared_ptr<IRouter>(move(router));
}
@@ -197,7 +197,7 @@ namespace integration
ASSERT(router, ());
shared_ptr<Route> route(new Route("mapsme"));
IRouter::ResultCode result =
- router->CalculateRoute(startPoint, startDirection, finalPoint, *route.get());
+ router->CalculateRoute(startPoint, startDirection, finalPoint, nullptr, *route.get());
ASSERT(route, ());
return TRouteResult(route, result);
}