}
-bool PlaneGCSSolver_Storage::update(ConstraintWrapperPtr& theConstraint)
+bool PlaneGCSSolver_Storage::update(ConstraintWrapperPtr theConstraint)
{
bool isUpdated = false;
std::shared_ptr<PlaneGCSSolver_ConstraintWrapper> aConstraint =
return isUpdated;
}
-bool PlaneGCSSolver_Storage::update(EntityWrapperPtr& theEntity)
+bool PlaneGCSSolver_Storage::update(EntityWrapperPtr theEntity)
{
if (theEntity->type() == ENTITY_SKETCH)
return true; // sketch is not necessary for PlaneGCS, so it is always says true
return isUpdated;
}
-bool PlaneGCSSolver_Storage::update(ParameterWrapperPtr& theParameter)
+bool PlaneGCSSolver_Storage::update(ParameterWrapperPtr theParameter)
{
std::shared_ptr<PlaneGCSSolver_ParameterWrapper> aParam =
std::dynamic_pointer_cast<PlaneGCSSolver_ParameterWrapper>(theParameter);
/// \brief Update constraint's data
/// \return \c true if any value is updated
- virtual bool update(ConstraintWrapperPtr& theConstraint);
+ virtual bool update(ConstraintWrapperPtr theConstraint);
/// \brief Update entity's data
/// \return \c true if any value is updated
- virtual bool update(EntityWrapperPtr& theEntity);
+ virtual bool update(EntityWrapperPtr theEntity);
/// \brief Update parameter's data
/// \return \c true if the value of parameter is updated
- virtual bool update(ParameterWrapperPtr& theParameter);
+ virtual bool update(ParameterWrapperPtr theParameter);
/// \brief Update SketchPlugin features after resolving constraints
/// \param theFixedOnly [in] if \c true the fixed points will be updated only