diff options
author | Maxim Pimenov <m@maps.me> | 2016-09-23 15:57:28 +0300 |
---|---|---|
committer | Maxim Pimenov <m@maps.me> | 2016-09-26 13:20:19 +0300 |
commit | b97a8791ff701f30f9c801c36b7b0cb2fc4f7739 (patch) | |
tree | d99a84b8a66e4ae5f898f55465bfc59c471301d5 /indexer/osm_editor.cpp | |
parent | f3be6799ba37fa766dfdd5ec263603ba3cd45006 (diff) |
Fix build.
Diffstat (limited to 'indexer/osm_editor.cpp')
-rw-r--r-- | indexer/osm_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp index e4ffc6169a..64b650f894 100644 --- a/indexer/osm_editor.cpp +++ b/indexer/osm_editor.cpp @@ -1054,8 +1054,8 @@ FeatureID Editor::GenerateNewFeatureId(MwmSet::MwmId const & id) bool Editor::CreatePoint(uint32_t type, m2::PointD const & mercator, MwmSet::MwmId const & id, EditableMapObject & outFeature) { ASSERT(id.IsAlive(), ("Please check that feature is created in valid MWM file before calling this method.")); - ASSERT(id.GetInfo()->m_limitRect.IsPointInside(mercator), - ("Attempt to create a feature outside of the MWM's bounding box.")); + CHECK(id.GetInfo()->m_limitRect.IsPointInside(mercator), + ("Attempt to create a feature outside of the MWM's bounding box.")); outFeature.SetMercator(mercator); outFeature.SetID(GenerateNewFeatureId(id)); outFeature.SetType(type); |