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

This commit is contained in:
wmayer
2022-08-29 22:21:01 +02:00
parent 3e009e2693
commit 236b40ab65
10 changed files with 32 additions and 32 deletions

View File

@@ -47,7 +47,7 @@ class PathSelectionObserver;
class PathGuiExport ViewProviderPath : public Gui::ViewProviderGeometryObject
{
PROPERTY_HEADER(PathGui::ViewProviderPath);
typedef ViewProviderGeometryObject inherited;
using inherited = ViewProviderGeometryObject;
public:
/// constructor.
@@ -117,7 +117,7 @@ protected:
};
typedef Gui::ViewProviderPythonFeatureT<ViewProviderPath> ViewProviderPathPython;
using ViewProviderPathPython = Gui::ViewProviderPythonFeatureT<ViewProviderPath>;
} //namespace PathGui