From 4aaeabe5e7586b259482c47557497244aaa0c746 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 26 Dec 2017 15:03:36 +0300 Subject: [PATCH] Fix compilation error on Linux --- src/SketchPlugin/SketchPlugin_Fillet.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/SketchPlugin/SketchPlugin_Fillet.cpp b/src/SketchPlugin/SketchPlugin_Fillet.cpp index 3916cfb35..544ea99d6 100644 --- a/src/SketchPlugin/SketchPlugin_Fillet.cpp +++ b/src/SketchPlugin/SketchPlugin_Fillet.cpp @@ -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& theFeaturesToRemove, const AttributePoint2DPtr theFilletPoints[2]) { FeaturePtr aFilletApex; - struct Length { - AttributePtr myPoints[2]; - std::string myValueText; - double myValueDouble; - GeomPnt2dPtr myFlyoutPoint; - int myLocationType; - }; std::list aLengthToDistance; std::set::iterator aFeat = theFeaturesToRemove.begin(); -- 2.39.2