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

This commit is contained in:
wmayer
2022-08-29 14:09:18 +02:00
parent 5240a30431
commit ba8d5ab055
81 changed files with 188 additions and 186 deletions

View File

@@ -255,7 +255,7 @@ public:
}
Gui::Document* _document;
typedef boost::signals2::scoped_connection Connection;
using Connection = boost::signals2::scoped_connection;
Connection connectApplicationDeletedDocument;
};
@@ -345,7 +345,7 @@ public:
Gui::ViewProviderDocumentObject* object;
bool indocument;
typedef boost::signals2::scoped_connection Connection;
using Connection = boost::signals2::scoped_connection;
Connection connectApplicationDeletedDocument;
Connection connectDocumentCreatedObject;
Connection connectDocumentDeletedObject;