-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unintended cast to bool? #471
Comments
No, it should be returning ... |
I got a compiler warning on that line because for all of the possible overloads, it accepts a bool first for
And so calling with |
Thanks for the feedback Karim. I suspect my reply above was too brief and hence confusing.
If that was the function you amended, then I don't see why you'd be getting compiler errors now. However, WRT |
Clipper2/CPP/Clipper2Lib/include/clipper2/clipper.h
Line 252 in 4057a50
It looks like the line should be instead
return ExecuteRectClip(rect, PathsD{ line }, false, precision);
, otherwise it castsprecision
as abool
.The text was updated successfully, but these errors were encountered: