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

@@ -130,7 +130,7 @@ namespace Gui {
friend class ViewProviderIndex;
TYPESYSTEM_HEADER_WITH_OVERRIDE();
static QIcon* documentIcon;
typedef boost::unordered_set<ViewProviderIndex*> IndexSet;
using IndexSet = boost::unordered_set<ViewProviderIndex*>;
std::map<const ViewProviderDocumentObject*, IndexSet> vp_nodes;
void addToDocument(ViewProviderIndex*);
void removeFromDocument(ViewProviderIndex*);