Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SketchSolver: porting to Linux
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Constraint.h
diff --git
a/src/SketchPlugin/SketchPlugin_Constraint.h
b/src/SketchPlugin/SketchPlugin_Constraint.h
index e69a316cc46a6b0fa4867fe09ccceda9a0553901..61cd2bf0554bc18567dbc87e17c4d48e078be365 100644
(file)
--- 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
/// 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};
{CONSTRAINT_ATTR_ENTITY_A, CONSTRAINT_ATTR_ENTITY_B,
CONSTRAINT_ATTR_ENTITY_C, CONSTRAINT_ATTR_ENTITY_D};