fix warnings in compilation on clang

This commit is contained in:
Moritz Kobitzsch
2016-04-06 09:47:17 +02:00
committed by Patrick Niklaus
parent a516245c94
commit 4d864b8267
3 changed files with 17 additions and 21 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ std::vector<util::Coordinate> douglasPeucker(std::vector<util::Coordinate>::cons
BOOST_ASSERT_MSG(zoom_level < detail::DOUGLAS_PEUCKER_THRESHOLDS_SIZE,
"unsupported zoom level");
const auto size = std::distance(begin, end);
const std::size_t size = std::distance(begin, end);
if (size < 2)
{
return {};