From 0f7dc4f60c49598430e809ba5490a8609b5fc960 Mon Sep 17 00:00:00 2001 From: Uwe Date: Sun, 22 Jan 2023 21:59:44 +0100 Subject: [PATCH] [Sketch] Constraints.h: fix 2 compiler warnings - the type change fixes this error: \src\Mod\Sketcher\App\planegcs\Constraints.cpp(509,54): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data - the scone change removes a non-existing definition --- src/Mod/Sketcher/App/planegcs/Constraints.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Mod/Sketcher/App/planegcs/Constraints.h b/src/Mod/Sketcher/App/planegcs/Constraints.h index 7359d3e4fd..d57303b49a 100644 --- a/src/Mod/Sketcher/App/planegcs/Constraints.h +++ b/src/Mod/Sketcher/App/planegcs/Constraints.h @@ -251,10 +251,9 @@ namespace GCS void rescale(double coef=1.) override; double error() override; double grad(double *) override; - void setupInputs(); size_t numpoints; BSpline& bsp; - unsigned int startpole; + size_t startpole; }; // Difference