]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Avoid compilation failure
authorazv <azv@opencascade.com>
Fri, 6 Jul 2018 07:34:23 +0000 (10:34 +0300)
committerazv <azv@opencascade.com>
Fri, 6 Jul 2018 07:34:23 +0000 (10:34 +0300)
src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp

index 33599bdd36983a3a591ef023777cb1933250a05a..3da93923712377a9e4cca01c7f43a0d160694369 100644 (file)
@@ -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;