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-30 17:45:48 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:58:41 +0300
commit5a50c9c892997a8d318160c307aeabcb7cfa3325 (patch)
treed6e09f8444c05a185d971754741aa9c003475818 /integration_tests
parent8accabb3a272ee484dcca5eaa061e8f5ff705f11 (diff)
TimeoutObserver to RouterDelegate refactoring.
Diffstat (limited to 'integration_tests')
-rw-r--r--integration_tests/routing_test_tools.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/integration_tests/routing_test_tools.cpp b/integration_tests/routing_test_tools.cpp
index 6ab57990bf..edeb4263c4 100644
--- a/integration_tests/routing_test_tools.cpp
+++ b/integration_tests/routing_test_tools.cpp
@@ -11,7 +11,7 @@
#include "routing/online_cross_fetcher.hpp"
#include "routing/road_graph_router.hpp"
#include "routing/route.hpp"
-#include "routing/timeout_observer.hpp"
+#include "routing/router_delegate.hpp"
#include "search/search_engine.hpp"
@@ -194,12 +194,12 @@ namespace integration
m2::PointD const & startPoint, m2::PointD const & startDirection,
m2::PointD const & finalPoint)
{
- TimeoutObserver observer;
+ RouterDelegate delegate;
IRouter * router = routerComponents.GetRouter();
ASSERT(router, ());
shared_ptr<Route> route(new Route("mapsme"));
IRouter::ResultCode result =
- router->CalculateRoute(startPoint, startDirection, finalPoint, observer, *route.get());
+ router->CalculateRoute(startPoint, startDirection, finalPoint, delegate, *route.get());
ASSERT(route, ());
return TRouteResult(route, result);
}