diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-07-11 15:47:30 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-07-11 15:48:59 +0300 |
commit | 22a912efcbcce2b5290339961cd0575e9306b769 (patch) | |
tree | 17d3d377461400c5603413c2746d1cae4b077c3f | |
parent | 6833bc960b12f2534bad405c4b214f02844a1456 (diff) |
Removed incorrect asserts.
-rw-r--r-- | drape/overlay_tree.cpp | 1 | ||||
-rw-r--r-- | drape_frontend/user_event_stream.cpp | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drape/overlay_tree.cpp b/drape/overlay_tree.cpp index e09b5ed0e8..9daf1e229a 100644 --- a/drape/overlay_tree.cpp +++ b/drape/overlay_tree.cpp @@ -363,7 +363,6 @@ bool OverlayTree::CheckHandle(ref_ptr<OverlayHandle> handle, int currentRank, void OverlayTree::DeleteHandle(ref_ptr<OverlayHandle> const & handle) { size_t const deletedCount = m_handlesCache.erase(handle); - ASSERT_NOT_EQUAL(deletedCount, 0, ()); if (deletedCount != 0) Erase(handle); } diff --git a/drape_frontend/user_event_stream.cpp b/drape_frontend/user_event_stream.cpp index 987be248de..83afe9c346 100644 --- a/drape_frontend/user_event_stream.cpp +++ b/drape_frontend/user_event_stream.cpp @@ -410,9 +410,6 @@ bool UserEventStream::SetFollowAndRotate(m2::PointD const & userPos, m2::PointD } screen.MatchGandP3d(userPos, pixelPos); - ASSERT_GREATER_OR_EQUAL(preferredZoomLevel, scales::GetUpperWorldScale(), ()); - ASSERT_LESS_OR_EQUAL(preferredZoomLevel, scales::GetUpperStyleScale(), ()); - ShrinkAndScaleInto(screen, df::GetWorldRect()); if (isAnim) |