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
path: root/map
diff options
context:
space:
mode:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-12-02 08:30:57 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-12-03 11:55:32 +0300
commit3efa51d9a9a7d7caf2699fa346b6bec808a0d17f (patch)
treeee873e62cebe6399c829137dca13a01ad5c06b8c /map
parentfd74ef61df978175ae84602b61bb62a8a987ab9f (diff)
Review fixes.
Diffstat (limited to 'map')
-rw-r--r--map/traffic_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map/traffic_manager.cpp b/map/traffic_manager.cpp
index 5b3353166b..280bfa7d50 100644
--- a/map/traffic_manager.cpp
+++ b/map/traffic_manager.cpp
@@ -320,7 +320,7 @@ void TrafficManager::OnTrafficDataResponse(traffic::TrafficInfo && info)
// Update cache.
size_t constexpr kElementSize = sizeof(traffic::TrafficInfo::RoadSegmentId) + sizeof(traffic::SpeedGroup);
- // Note. It's necessary to multiply by two because routing and rendering use individual caches.
+ // Note. It's necessary to multiply by two because routing and rendering use separate caches.
size_t const dataSize = 2 * info.GetColoring().size() * kElementSize;
it->second.m_isLoaded = true;
m_currentCacheSizeBytes += (dataSize - it->second.m_dataSize);