diff --git a/indexer/feature.cpp b/indexer/feature.cpp index ac2230da66..34d697dbfa 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -691,7 +691,7 @@ m2::RectD FeatureType::GetLimitRect(int scale) if (m_triangles.empty() && m_points.empty() && (GetGeomType() != GeomType::Point)) { - ASSERT(false, ()); + ASSERT(false, (m_id)); // This function is called during indexing, when we need // to check visibility according to feature sizes. @@ -704,9 +704,8 @@ m2::RectD FeatureType::GetLimitRect(int scale) m2::RectD const & FeatureType::GetLimitRectChecked() const { - /// @todo Replace with ASSERTs later. - CHECK(m_parsed.m_points && m_parsed.m_triangles, (m_id)); - CHECK(m_limitRect.IsValid(), (m_id)); + ASSERT(m_parsed.m_points && m_parsed.m_triangles, (m_id)); + ASSERT(m_limitRect.IsValid(), (m_id)); return m_limitRect; }