From dc2c8e8e0fb22118f0dd48d2ade8ee161f68185f Mon Sep 17 00:00:00 2001 From: Daria Volvenkova Date: Thu, 13 Feb 2020 15:15:07 +0300 Subject: [PATCH] [topography_generator] Review fix. --- topography_generator/utils/contours.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topography_generator/utils/contours.hpp b/topography_generator/utils/contours.hpp index 8d2b66a25d..f161e8552c 100644 --- a/topography_generator/utils/contours.hpp +++ b/topography_generator/utils/contours.hpp @@ -42,7 +42,7 @@ void CropContours(m2::RectD & rect, std::vector & regions, size_t m { std::vector levelCroppedContours; - if (abs(it->first) % (contours.m_valueStep * valueStepFactor) == 0) + if (it->first % static_cast(contours.m_valueStep * valueStepFactor) == 0) { for (auto const & contour : it->second) {