forked from organicmaps/organicmaps-tmp
Copy countryId before erase it.
This commit is contained in:
parent
058bc5e8b3
commit
6eeb3d8b3e
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ void Storage::DownloadNextCountryFromQueue()
|
|||
}
|
||||
|
||||
QueuedCountry & queuedCountry = m_queue.front();
|
||||
TCountryId const & countryId = queuedCountry.GetCountryId();
|
||||
TCountryId const countryId = queuedCountry.GetCountryId();
|
||||
|
||||
// It's not even possible to prepare directory for files before
|
||||
// downloading. Mark this country as failed and switch to next
|
||||
|
|
Loading…
Add table
Reference in a new issue