From 736e5bef778a07d372de2538d0da74cb79ae2717 Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 6 Jul 2018 10:34:23 +0300 Subject: [PATCH] Avoid compilation failure --- src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2