Gui: modernize C++: replace 'typedef' with 'using'
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user