Adding detailed comment to ASSERT.

This commit is contained in:
Vladimir Byko-Ianko 2015-06-15 16:54:51 +03:00 committed by Alex Zolotarev
parent 14117ab4de
commit f14d17d55e

View file

@ -512,7 +512,8 @@ void Framework::UpdateAfterDownload(string const & fileName, TMapOptions opt)
void Framework::RegisterAllMaps()
{
ASSERT(!Storage().IsDownloadInProgress(), ());
ASSERT(!Storage().IsDownloadInProgress(),
("Registering maps while map downloading leads to removing downloading maps from ActiveMapsListener::m_items."));
//ASSERT(m_model.IsEmpty(), ());
int minVersion = numeric_limits<int>::max();