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

This commit is contained in:
wmayer
2022-08-29 14:09:18 +02:00
parent 656890be38
commit 23961706be
81 changed files with 188 additions and 186 deletions

View File

@@ -185,7 +185,7 @@ private:
FC_PY_VIEW_OBJECT
FlagMax,
};
typedef std::bitset<FlagMax> Flags;
using Flags = std::bitset<FlagMax>;
mutable Flags _Flags;
public:
@@ -623,8 +623,8 @@ private:
};
// Special Feature-Python classes
typedef ViewProviderPythonFeatureT<ViewProviderDocumentObject> ViewProviderPythonFeature;
typedef ViewProviderPythonFeatureT<ViewProviderGeometryObject> ViewProviderPythonGeometry;
using ViewProviderPythonFeature = ViewProviderPythonFeatureT<ViewProviderDocumentObject>;
using ViewProviderPythonGeometry = ViewProviderPythonFeatureT<ViewProviderGeometryObject>;
} // namespace Gui