Changes

Summary

  1. [all] Remove some warnings (#4698) (details)
Commit d64a5b5c54f4987ca8d19e33bb52c71303c3bbd6 by noreply
[all] Remove some warnings (#4698)

* fix trivial warnings

* fix dangling ref to temporary

* fix obscure dangling ref to temporary warnings

* Apply suggestions from code review (indentations)

Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>

---------

Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
The file was modifiedSofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/SquareDistanceMapping.inl (diff)
The file was modifiedSofa/framework/LinearAlgebra/src/sofa/linearalgebra/SparseMatrixProduct.inl (diff)
The file was modifiedSofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/DistanceMapping.inl (diff)
The file was modifiedSofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/SquareMapping.inl (diff)
The file was modifiedSofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/DistanceMultiMapping.inl (diff)
The file was modifiedSofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/DistanceFromTargetMapping.inl (diff)
The file was modifiedSofa/Component/Topology/Container/Dynamic/src/sofa/component/topology/container/dynamic/TriangleSetGeometryAlgorithms.inl (diff)
The file was modifiedSofa/GUI/Common/src/sofa/gui/common/PickHandler.cpp (diff)
The file was modifiedSofa/framework/Simulation/Core/src/sofa/simulation/UpdateMappingVisitor.cpp (diff)