Part: Fix several clazy issues:
* Maybe you meant to call Primitive::onChanged() instead [-Wclazy-skipped-base-method] * Maybe you meant to call Primitive::mustExecute() instead [-Wclazy-skipped-base-method] * Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference] * Use multi-arg instead [-Wclazy-qstring-arg] * Use midRef() instead [-Wclazy-qstring-ref]
This commit is contained in:
@@ -58,7 +58,7 @@ short Circle::mustExecute() const
|
||||
Angle2.isTouched() ||
|
||||
Radius.isTouched())
|
||||
return 1;
|
||||
return Part::Feature::mustExecute();
|
||||
return Part::Primitive::mustExecute();
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn *Circle::execute(void)
|
||||
@@ -85,7 +85,7 @@ void Circle::onChanged(const App::Property* prop)
|
||||
}
|
||||
}
|
||||
}
|
||||
Part::Feature::onChanged(prop);
|
||||
Part::Feature::onChanged(prop); // clazy:exclude=skipped-base-method
|
||||
}
|
||||
|
||||
void Circle::Restore(Base::XMLReader &reader)
|
||||
|
||||
Reference in New Issue
Block a user