Mod: modernize C++: replace 'typedef' with 'using'
This commit is contained in:
@@ -67,7 +67,7 @@ protected:
|
||||
//@}
|
||||
};
|
||||
|
||||
typedef App::FeaturePythonT<FeatureView> FeatureViewPython;
|
||||
using FeatureViewPython = App::FeaturePythonT<FeatureView>;
|
||||
|
||||
} //namespace Drawing
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
typedef App::FeaturePythonT<FeatureViewAnnotation> FeatureViewAnnotationPython;
|
||||
using FeatureViewAnnotationPython = App::FeaturePythonT<FeatureViewAnnotation>;
|
||||
|
||||
|
||||
} //namespace Drawing
|
||||
|
||||
@@ -72,7 +72,7 @@ private:
|
||||
static App::PropertyFloatConstraint::Constraints floatRange;
|
||||
};
|
||||
|
||||
typedef App::FeaturePythonT<FeatureViewPart> FeatureViewPartPython;
|
||||
using FeatureViewPartPython = App::FeaturePythonT<FeatureViewPart>;
|
||||
|
||||
|
||||
} //namespace Drawing
|
||||
|
||||
@@ -66,7 +66,7 @@ protected:
|
||||
void onChanged(const App::Property* prop);
|
||||
};
|
||||
|
||||
typedef App::FeaturePythonT<FeatureViewSymbol> FeatureViewSymbolPython;
|
||||
using FeatureViewSymbolPython = App::FeaturePythonT<FeatureViewSymbol>;
|
||||
|
||||
|
||||
} //namespace Drawing
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
WithHidden = 1,
|
||||
WithSmooth = 2
|
||||
};
|
||||
typedef std::map<std::string,std::string> XmlAttributes;
|
||||
using XmlAttributes = std::map<std::string,std::string>;
|
||||
|
||||
std::string getSVG(ExtractionType type, double tolerance=0.05,
|
||||
XmlAttributes V_style=XmlAttributes(),
|
||||
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
//@}
|
||||
};
|
||||
|
||||
typedef Gui::ViewProviderPythonFeatureT<ViewProviderDrawingView> ViewProviderDrawingViewPython;
|
||||
using ViewProviderDrawingViewPython = Gui::ViewProviderPythonFeatureT<ViewProviderDrawingView>;
|
||||
|
||||
class DrawingGuiExport ViewProviderDrawingClip : public Gui::ViewProviderDocumentObjectGroup
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user