From: azv Date: Fri, 6 Jul 2018 07:34:23 +0000 (+0300) Subject: Avoid compilation failure X-Git-Tag: EDF_2018-1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=736e5bef778a07d372de2538d0da74cb79ae2717;p=modules%2Fshaper.git Avoid compilation failure --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp b/src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp index 33599bdd3..3da939237 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp @@ -276,7 +276,7 @@ void FeaturesPlugin_Measurement::computeAngle() aValues->setValue(anIndex++, *anIt); } -static GeomVertexPtr selectionToVertex(AttributeSelectionPtr& aSelection) +static GeomVertexPtr selectionToVertex(const AttributeSelectionPtr& aSelection) { GeomShapePtr aShape; GeomVertexPtr aVertex;