forked from organicmaps/organicmaps
Added assert for guides version
This commit is contained in:
parent
370afcc675
commit
f219dfe8f9
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ bool GuidesManager::RestoreFromFile()
|
|||
{
|
||||
}
|
||||
|
||||
ASSERT_GREATER(resourcesVersion, 0, ());
|
||||
if (downloadedVersion > resourcesVersion)
|
||||
{
|
||||
m_version = downloadedVersion;
|
||||
|
|
Loading…
Add table
Reference in a new issue