diff options
author | ygorshenin <mipt.vi002@gmail.com> | 2016-09-19 18:48:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-19 18:48:42 +0300 |
commit | 9f96e176172930d569518e64e297bb26d9c50474 (patch) | |
tree | 276f929ec29081da553978a3b88847c619bc808f /map | |
parent | 572db1c9e93f7995bb3a6d123e11c72d59fe3277 (diff) | |
parent | 6eb6d636f17df4e8a1ca5871c88e8588218724dc (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.cpp | 2 |
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(); } |