From: azv Date: Tue, 26 Dec 2017 12:03:36 +0000 (+0300) Subject: Fix compilation error on Linux X-Git-Tag: V_2.10.1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4aaeabe5e7586b259482c47557497244aaa0c746;p=modules%2Fshaper.git Fix compilation error on Linux --- 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();