forked from organicmaps/organicmaps
Fixed warning in compilation (XCode)
This commit is contained in:
parent
621573e7e9
commit
363ba12280
4 changed files with 7 additions and 2 deletions
|
@ -337,7 +337,6 @@ void FrontendRenderer::AcceptMessage(ref_ptr<Message> message)
|
|||
{
|
||||
ref_ptr<FlushRouteMessage> msg = message;
|
||||
drape_ptr<RouteData> routeData = msg->AcceptRouteData();
|
||||
m2::PointD const startPoint = routeData->m_sourcePolyline.Front();
|
||||
m2::PointD const finishPoint = routeData->m_sourcePolyline.Back();
|
||||
m_routeRenderer->SetRouteData(move(routeData), make_ref(m_gpuProgramManager));
|
||||
if (!m_routeRenderer->GetFinishPoint())
|
||||
|
|
|
@ -10,7 +10,9 @@ namespace gui
|
|||
|
||||
namespace
|
||||
{
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
bool IsSimple(dp::Anchor anchor)
|
||||
{
|
||||
return anchor >= 0 && anchor <= 8;
|
||||
|
@ -20,6 +22,8 @@ bool IsAnchor(dp::Anchor anchor)
|
|||
{
|
||||
return anchor >= 0 && anchor <= 10;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
dp::Anchor ParseValueAnchor(string const & value)
|
||||
{
|
||||
|
|
|
@ -315,6 +315,7 @@ void RouteShape::CacheRouteSign(ref_ptr<dp::TextureManager> mng, RouteSignData &
|
|||
provider.InitStream(0 /* stream index */, gpu::SolidTexturingVertex::GetBindingInfo(), make_ref(data));
|
||||
|
||||
dp::IndicesRange indices = batcher.InsertTriangleStrip(state, make_ref(&provider), nullptr);
|
||||
UNUSED_VALUE(indices);
|
||||
ASSERT(indices.IsValid(), ());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -712,6 +712,7 @@ bool UserEventStream::TouchMove(array<Touch, 2> const & touches, double timestam
|
|||
bool UserEventStream::TouchCancel(array<Touch, 2> const & touches)
|
||||
{
|
||||
size_t touchCount = GetValidTouchesCount(touches);
|
||||
UNUSED_VALUE(touchCount);
|
||||
bool isMapTouch = true;
|
||||
switch (m_state)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue