Review fixes

This commit is contained in:
r.kuznetsov 2015-11-06 11:19:33 +03:00
parent 7f1756e90c
commit 8e5eef2f09
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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]);