App: modernize C++: replace 'typedef' with 'using'
This commit is contained in:
@@ -2519,14 +2519,14 @@ bool PropertyLinkSubList::adjustLink(const std::set<App::DocumentObject*> &inLis
|
||||
// has now been changed to simply use the absoluteFilePath(), and rely on user
|
||||
// to be aware of possible duplicated file location. The reason being that
|
||||
// some user (especially Linux user) use symlink to organize file tree.
|
||||
typedef std::map<QString,DocInfoPtr> DocInfoMap;
|
||||
using DocInfoMap = std::map<QString, DocInfoPtr>;
|
||||
DocInfoMap _DocInfoMap;
|
||||
|
||||
class App::DocInfo :
|
||||
public std::enable_shared_from_this<App::DocInfo>
|
||||
{
|
||||
public:
|
||||
typedef boost::signals2::scoped_connection Connection;
|
||||
using Connection = boost::signals2::scoped_connection;
|
||||
Connection connFinishRestoreDocument;
|
||||
Connection connPendingReloadDocument;
|
||||
Connection connDeleteDocument;
|
||||
|
||||
Reference in New Issue
Block a user