forked from organicmaps/organicmaps
Review fixes
This commit is contained in:
parent
7f1756e90c
commit
8e5eef2f09
2 changed files with 2 additions and 2 deletions
|
@ -346,7 +346,7 @@ void RouteShape::Draw(ref_ptr<dp::TextureManager> textures, RouteData & routeDat
|
|||
{
|
||||
TGeometryBuffer geometry;
|
||||
TGeometryBuffer joinsGeometry;
|
||||
vector<m2::PointD> points = CalculatePoints(routeData.m_sourcePolyline, renderProperty->m_start, renderProperty->m_end);
|
||||
vector<m2::PointD> const points = CalculatePoints(routeData.m_sourcePolyline, renderProperty->m_start, renderProperty->m_end);
|
||||
ASSERT_LESS_OR_EQUAL(points.size(), routeData.m_sourcePolyline.GetSize(), ());
|
||||
PrepareGeometry(false /* isRoute */, points, geometry, joinsGeometry, renderProperty->m_joinsBounds, routeData.m_length);
|
||||
BatchGeometry(state, geometry, joinsGeometry, renderProperty->m_arrow);
|
||||
|
|
|
@ -1590,7 +1590,7 @@ void Framework::InvalidateUserMarks()
|
|||
{
|
||||
m_bmManager.InitBookmarks();
|
||||
|
||||
vector<UserMarkType> types = { UserMarkType::SEARCH_MARK, UserMarkType::API_MARK, UserMarkType::DEBUG_MARK };
|
||||
vector<UserMarkType> const types = { UserMarkType::SEARCH_MARK, UserMarkType::API_MARK, UserMarkType::DEBUG_MARK };
|
||||
for (size_t typeIndex = 0; typeIndex < types.size(); typeIndex++)
|
||||
{
|
||||
UserMarkControllerGuard guard(m_bmManager, types[typeIndex]);
|
||||
|
|
Loading…
Add table
Reference in a new issue