Sketcher: Constraint.h - add underlying type to PointPos enum

==============================================================

This enables forward declarations.
This commit is contained in:
Abdullah Tahiri
2021-11-01 18:27:32 +01:00
parent a6838cf58f
commit 70757f8ae3

View File

@@ -82,10 +82,12 @@ enum InternalAlignmentType {
* complex geometries like parabola focus or b-spline knots use InternalAlignment constraints
* in addition to PointPos.
*/
enum PointPos { none = 0,
start = 1,
end = 2,
mid = 3 };
enum PointPos : int {
none = 0,
start = 1,
end = 2,
mid = 3
};
class SketcherExport Constraint : public Base::Persistence
{