Mod: modernize C++: replace 'typedef' with 'using'

This commit is contained in:
wmayer
2022-08-29 23:21:15 +02:00
parent 138629633f
commit 312c8f68e4
7 changed files with 13 additions and 13 deletions

View File

@@ -43,7 +43,7 @@ class Ui_TaskFilling;
class ViewProviderFilling : public PartGui::ViewProviderSpline
{
PROPERTY_HEADER_WITH_OVERRIDE(SurfaceGui::ViewProviderFilling);
typedef std::vector<App::PropertyLinkSubList::SubSet> References;
using References = std::vector<App::PropertyLinkSubList::SubSet>;
public:
enum ShapeType {Vertex, Edge, Face};

View File

@@ -42,7 +42,7 @@ class Ui_Sections;
class ViewProviderSections : public PartGui::ViewProviderSpline
{
PROPERTY_HEADER_WITH_OVERRIDE(SurfaceGui::ViewProviderSections);
typedef std::vector<App::PropertyLinkSubList::SubSet> References;
using References = std::vector<App::PropertyLinkSubList::SubSet>;
public:
enum ShapeType {Vertex, Edge, Face};