From f14d17d55ed753a8a4e3fbaf62ce1701351be3ee Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Mon, 15 Jun 2015 16:54:51 +0300 Subject: [PATCH] Adding detailed comment to ASSERT. --- map/framework.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/map/framework.cpp b/map/framework.cpp index a2c8f8f94c..88fb96885f 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -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::max();