From 0e286af509ff63282359a0592a23cfd48476ec40 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Tue, 7 Dec 2021 14:16:38 +0100 Subject: [PATCH] Sketcher: ConstraintType enum indicate underlying type ====================================================== This enables forward declaration --- src/Mod/Sketcher/App/Constraint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/App/Constraint.h b/src/Mod/Sketcher/App/Constraint.h index b1f1b7ffb5..328e2d77c6 100644 --- a/src/Mod/Sketcher/App/Constraint.h +++ b/src/Mod/Sketcher/App/Constraint.h @@ -37,7 +37,7 @@ namespace Sketcher This is mandatory in order to keep the handling of constraint types upward compatible which means that this program version ignores later introduced constraint types when reading them from a project file. */ -enum ConstraintType { +enum ConstraintType : int { None = 0, Coincident = 1, Horizontal = 2,