From 41c7827287387a81be1f07d28b60513bb5de7d83 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Sat, 28 Jan 2017 01:30:13 +0800 Subject: [PATCH] libarea: fixed linux build --- src/Mod/Path/libarea/Area.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/libarea/Area.cpp b/src/Mod/Path/libarea/Area.cpp index 7323ce3f5..c39bde2e4 100644 --- a/src/Mod/Path/libarea/Area.cpp +++ b/src/Mod/Path/libarea/Area.cpp @@ -75,7 +75,7 @@ Point CArea::NearestPoint(const Point& p)const void CArea::ChangeStartToNearest(const Point *point, double min_dist) { - for(std::list::const_iterator It=m_curves.begin(),ItNext=It; + for(std::list::iterator It=m_curves.begin(),ItNext=It; It != m_curves.end(); It=ItNext) { ++ItNext;