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:
authorygorshenin <mipt.vi002@gmail.com>2016-09-19 18:48:42 +0300
committerGitHub <noreply@github.com>2016-09-19 18:48:42 +0300
commit9f96e176172930d569518e64e297bb26d9c50474 (patch)
tree276f929ec29081da553978a3b88847c619bc808f /map
parent572db1c9e93f7995bb3a6d123e11c72d59fe3277 (diff)
parent6eb6d636f17df4e8a1ca5871c88e8588218724dc (diff)
Merge pull request #4299 from bykoianko/master-wrapping-current-route-into-shared-ptr
[routing] Wrapping RoutingSesson::m_route into shared_prt and some fixes some multithreading issues.
Diffstat (limited to 'map')
-rw-r--r--map/framework.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map/framework.cpp b/map/framework.cpp
index 85aedd6352..5995fd6f94 100644
--- a/map/framework.cpp
+++ b/map/framework.cpp
@@ -1569,7 +1569,7 @@ void Framework::CreateDrapeEngine(ref_ptr<dp::OGLContextFactory> contextFactory,
// In case of the engine reinitialization recover route.
if (m_routingSession.IsActive())
{
- InsertRoute(m_routingSession.GetRoute());
+ InsertRoute(*m_routingSession.GetRoute());
if (allow3d && m_routingSession.IsFollowing())
m_drapeEngine->EnablePerspective();
}