diff options
Diffstat (limited to 'map')
-rw-r--r-- | map/framework.cpp | 3 | ||||
-rw-r--r-- | map/traffic_manager.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/map/framework.cpp b/map/framework.cpp index f2428e5f94..4d9a928ef9 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -356,8 +356,7 @@ Framework::Framework() , m_isRenderingEnabled(true) , m_trackingReporter(platform::CreateSocket(), TRACKING_REALTIME_HOST, TRACKING_REALTIME_PORT, tracking::Reporter::kPushDelayMs) - , m_trafficManager(bind(&Framework::GetMwmsByRect, this, _1), - kMaxTrafficCacheSizeBytes, + , m_trafficManager(bind(&Framework::GetMwmsByRect, this, _1), kMaxTrafficCacheSizeBytes, // Note. |m_routingSession| should be declared before |m_trafficManager|. m_routingSession) , m_displacementModeManager([this](bool show) { diff --git a/map/traffic_manager.cpp b/map/traffic_manager.cpp index a7cea9da6a..c356005b71 100644 --- a/map/traffic_manager.cpp +++ b/map/traffic_manager.cpp @@ -37,8 +37,7 @@ TrafficManager::CacheEntry::CacheEntry(time_point<steady_clock> const & requestT , m_lastAvailability(traffic::TrafficInfo::Availability::Unknown) {} -TrafficManager::TrafficManager(GetMwmsByRectFn const & getMwmsByRectFn, - size_t maxCacheSizeBytes, +TrafficManager::TrafficManager(GetMwmsByRectFn const & getMwmsByRectFn, size_t maxCacheSizeBytes, traffic::RoutingObserver & routingObserver) : m_getMwmsByRectFn(getMwmsByRectFn) , m_routingObserver(routingObserver) |