Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@gmail.com>2016-09-09 10:27:18 +0300
committerIlya Grechuhin <i.grechuhin@gmail.com>2016-09-09 10:27:18 +0300
commitd352c5aae5bcccadc008dd093882fd7c84d405b6 (patch)
tree56297196f8834dd2f950737dd4371166b5864366 /indexer/cell_coverer.hpp
parentef796a2b247a4f442f1c63fada3bac3629299a48 (diff)
Removed unnecessary asserts.
Following checks perform correct handling of cases matched by these asserts.
Diffstat (limited to 'indexer/cell_coverer.hpp')
-rw-r--r--indexer/cell_coverer.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/indexer/cell_coverer.hpp b/indexer/cell_coverer.hpp
index d36f03bee7..8d47091ada 100644
--- a/indexer/cell_coverer.hpp
+++ b/indexer/cell_coverer.hpp
@@ -29,9 +29,6 @@ inline void CoverRect(double minX, double minY,
size_t cells_count, int maxDepth,
vector<CellIdT> & cells)
{
- ASSERT_LESS(minX, maxX, ());
- ASSERT_LESS(minY, maxY, ());
-
if (minX < BoundsT::minX) minX = BoundsT::minX;
if (minY < BoundsT::minY) minY = BoundsT::minY;
if (maxX > BoundsT::maxX) maxX = BoundsT::maxX;