From 82393829676ca138b78a3127d0a2b5979c0e1514 Mon Sep 17 00:00:00 2001 From: Igor Khmurets Date: Mon, 6 Oct 2014 19:12:42 +0300 Subject: [PATCH] [core] active_maps_layout constructor fix --- map/active_maps_layout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/map/active_maps_layout.cpp b/map/active_maps_layout.cpp index b45ad5a2fd..3e9128eeba 100644 --- a/map/active_maps_layout.cpp +++ b/map/active_maps_layout.cpp @@ -27,8 +27,8 @@ void ActiveMapsLayout::Init() TStatus status; TMapOptions options; storage.CountryStatusEx(index, status, options); - ASSERT(status == TStatus::EOnDisk || status == TStatus::EOnDiskOutOfDate, ()); - m_items.push_back({ index, status, options, options }); + if (status == TStatus::EOnDisk || status == TStatus::EOnDiskOutOfDate) + m_items.push_back({ index, status, options, options }); }; TIndex root;