fix variable shadowing in clipper
This commit is contained in:
parent
bc77157c57
commit
369a82e421
1 changed files with 1 additions and 1 deletions
2
deps/clipper/src/clipper.cpp
vendored
2
deps/clipper/src/clipper.cpp
vendored
|
@ -3164,7 +3164,7 @@ void Clipper::BuildResult(Paths &polys)
|
||||||
int cnt = PointCount(p);
|
int cnt = PointCount(p);
|
||||||
if (cnt < 2) continue;
|
if (cnt < 2) continue;
|
||||||
pg.reserve(cnt);
|
pg.reserve(cnt);
|
||||||
for (int i = 0; i < cnt; ++i)
|
for (int j = 0; j < cnt; ++j)
|
||||||
{
|
{
|
||||||
pg.push_back(p->Pt);
|
pg.push_back(p->Pt);
|
||||||
p = p->Prev;
|
p = p->Prev;
|
||||||
|
|
Loading…
Add table
Reference in a new issue