fix conversion warning

This commit is contained in:
Jane Tournois 2022-02-03 10:42:07 +01:00
parent c3fa3f5993
commit ebb699b2c4
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ int main (int argc, char** argv)
}
std::size_t nb_vertices
= std::accumulate (polylines.begin(), polylines.end(), 0u,
= std::accumulate (polylines.begin(), polylines.end(), std::size_t(0),
[](std::size_t size, const std::vector<Point_3>& poly) -> std::size_t
{ return size + poly.size(); });