Salome HOME
Fix compilation error on Linux
authorazv <azv@opencascade.com>
Tue, 26 Dec 2017 12:03:36 +0000 (15:03 +0300)
committerazv <azv@opencascade.com>
Tue, 26 Dec 2017 12:03:36 +0000 (15:03 +0300)
src/SketchPlugin/SketchPlugin_Fillet.cpp

index 3916cfb35e1a343b4171f63302a320a779c7d957..544ea99d65dbc6655d71150f48401d8273012d09 100644 (file)
@@ -348,18 +348,19 @@ FeaturePtr SketchPlugin_Fillet::createFilletApex(const GeomPnt2dPtr& theCoordina
   return anApex;
 }
 
+struct Length {
+  AttributePtr myPoints[2];
+  std::string myValueText;
+  double myValueDouble;
+  GeomPnt2dPtr myFlyoutPoint;
+  int myLocationType;
+};
+
 void SketchPlugin_Fillet::removeReferencesButKeepDistances(
     std::set<FeaturePtr>& theFeaturesToRemove,
     const AttributePoint2DPtr theFilletPoints[2])
 {
   FeaturePtr aFilletApex;
-  struct Length {
-    AttributePtr myPoints[2];
-    std::string myValueText;
-    double myValueDouble;
-    GeomPnt2dPtr myFlyoutPoint;
-    int myLocationType;
-  };
   std::list<Length> aLengthToDistance;
 
   std::set<FeaturePtr>::iterator aFeat = theFeaturesToRemove.begin();