diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-03-23 18:13:41 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-03-23 18:13:41 +0300 |
commit | 676f7d54145bd8da9ae91ef345b63c35fe9e184b (patch) | |
tree | 3a1e5387d95c25e0020c5405028a4c5a562db52d /map | |
parent | 0c87211af69ac24e8421a0b813559f08fe9575a2 (diff) |
Review fixes
Diffstat (limited to 'map')
-rw-r--r-- | map/framework.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map/framework.cpp b/map/framework.cpp index 610c6350be..4fd8d76e16 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1673,7 +1673,7 @@ void Framework::CreateDrapeEngine(ref_ptr<dp::OGLContextFactory> contextFactory, }); }; - auto showOverlaysEventFn = [](std::list<df::OverlayShowEvent> && events) + auto overlaysShowStatsFn = [](std::list<df::OverlayShowEvent> && events) { // TODO: implement sending events. This callback is called on a render thread, // so placing here not lightweight code is strictly prohibited! The best option is @@ -1704,7 +1704,7 @@ void Framework::CreateDrapeEngine(ref_ptr<dp::OGLContextFactory> contextFactory, move(myPositionModeChangedFn), allow3dBuildings, trafficEnabled, params.m_isChoosePositionMode, params.m_isChoosePositionMode, GetSelectedFeatureTriangles(), params.m_isFirstLaunch, m_routingSession.IsActive() && m_routingSession.IsFollowing(), isAutozoomEnabled, - simplifiedTrafficColors, showOverlaysEventFn); + simplifiedTrafficColors, move(overlaysShowStatsFn)); m_drapeEngine = make_unique_dp<df::DrapeEngine>(move(p)); m_drapeEngine->SetModelViewListener([this](ScreenBase const & screen) |