Fixed compilation issue

This commit is contained in:
r.kuznetsov 2016-12-09 17:18:27 +03:00
parent 86dba00c12
commit 4c85d93377

View file

@ -429,7 +429,8 @@ bool TrafficInfo::ReceiveTrafficKeys()
TrafficInfo::ServerDataStatus TrafficInfo::ReceiveTrafficValues(string & etag, vector<SpeedGroup> & values)
{
if (!m_mwmId.IsAlive())
return false;
return ServerDataStatus::Error;
auto const & info = m_mwmId.GetInfo();
if (!info)
return ServerDataStatus::Error;