fix const correctness
This commit is contained in:
@@ -5839,7 +5839,7 @@ int SketchObject::changeConstraintsLocking(bool bLock)
|
||||
return cntSuccess;
|
||||
}
|
||||
|
||||
bool SketchObject::constraintHasExpression(int constrid)
|
||||
bool SketchObject::constraintHasExpression(int constrid) const
|
||||
{
|
||||
App::ObjectIdentifier spath = this->Constraints.createPath(constrid);
|
||||
|
||||
|
||||
@@ -266,7 +266,7 @@ public:
|
||||
double calculateConstraintError(int ConstrId);
|
||||
int changeConstraintsLocking(bool bLock);
|
||||
/// returns whether a given constraint has an associated expression or not
|
||||
bool constraintHasExpression(int constrid);
|
||||
bool constraintHasExpression(int constrid) const;
|
||||
|
||||
///porting functions
|
||||
int port_reversedExternalArcs(bool justAnalyze);
|
||||
|
||||
Reference in New Issue
Block a user