]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation error on Linux
authorazv <azv@opencascade.com>
Wed, 11 Dec 2019 07:26:43 +0000 (10:26 +0300)
committerazv <azv@opencascade.com>
Wed, 11 Dec 2019 07:26:43 +0000 (10:26 +0300)
src/SketchPlugin/SketchPlugin_ConstraintAngle.cpp

index 5459741e4854ee99b603ad4c1c30aa311e60f79a..890df386f942eb1a02c80f498688d806391b3328 100644 (file)
@@ -290,7 +290,7 @@ double SketchPlugin_ConstraintAngle::getAngleForType(double theAngle,
 }
 
 // Convert angle value or a text expression from one angle type to another
-static void convertAngle(AttributeDoublePtr& theAngle,
+static void convertAngle(AttributeDoublePtr theAngle,
                          const int thePrevType, const int theNewType)
 {
   if (theAngle->isInitialized()) {