X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Constraint.h;h=61cd2bf0554bc18567dbc87e17c4d48e078be365;hb=b9a3d9351b23b5d30a0eb37d45896eac832bb7e2;hp=e69a316cc46a6b0fa4867fe09ccceda9a0553901;hpb=3b33b9d72886eda89b29507c2ee1175dd64cf0f6;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Constraint.h b/src/SketchPlugin/SketchPlugin_Constraint.h index e69a316cc..61cd2bf05 100644 --- a/src/SketchPlugin/SketchPlugin_Constraint.h +++ b/src/SketchPlugin/SketchPlugin_Constraint.h @@ -34,7 +34,8 @@ const std::string CONSTRAINT_ATTR_ENTITY_C("ConstraintEntityC"); /// Fourth entity for the constraint const std::string CONSTRAINT_ATTR_ENTITY_D("ConstraintEntityD"); /// List of constraint attributes -const std::string CONSTRAINT_ATTRIBUTES[4] = +const unsigned int CONSTRAINT_ATTR_SIZE = 4; +const std::string CONSTRAINT_ATTRIBUTES[CONSTRAINT_ATTR_SIZE] = {CONSTRAINT_ATTR_ENTITY_A, CONSTRAINT_ATTR_ENTITY_B, CONSTRAINT_ATTR_ENTITY_C, CONSTRAINT_ATTR_ENTITY_D};