diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/classdef.h | 5 | ||||
-rw-r--r-- | src/context.h | 2 | ||||
-rw-r--r-- | src/dotgfxhierarchytable.h | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/classdef.h b/src/classdef.h index e23bc19..1cbf7b1 100644 --- a/src/classdef.h +++ b/src/classdef.h @@ -19,6 +19,7 @@ #define CLASSDEF_H #include <vector> +#include <set> #include <qlist.h> #include <qdict.h> @@ -474,6 +475,10 @@ ClassDefMutable *createClassDef( ClassDef *createClassDefAlias(const Definition *newScope,const ClassDef *cd); +// --- Set of classes + +using ClassDefSet = std::set<const ClassDef*>; + // --- Cast functions ClassDef *toClassDef(Definition *d); diff --git a/src/context.h b/src/context.h index 3bedb69..dca5d91 100644 --- a/src/context.h +++ b/src/context.h @@ -503,8 +503,6 @@ class ClassHierarchyContext : public RefCountedContext, public TemplateStructInt //---------------------------------------------------- -using ClassDefSet = std::set<const ClassDef*>; - class NestingNodeContext : public RefCountedContext, public TemplateStructIntf { public: diff --git a/src/dotgfxhierarchytable.h b/src/dotgfxhierarchytable.h index d09298e..2076472 100644 --- a/src/dotgfxhierarchytable.h +++ b/src/dotgfxhierarchytable.h @@ -20,7 +20,6 @@ #include <string> #include <unordered_map> #include <vector> -#include <set> #include "classdef.h" #include "ftextstream.h" @@ -44,7 +43,6 @@ class DotGfxHierarchyTable : public DotGraph virtual void computeTheGraph(); private: - using ClassDefSet = std::set<const ClassDef*>; void addHierarchy(DotNode *n,const ClassDef *cd,ClassDefSet &visited); void addClassList(const ClassSDict *cl,ClassDefSet &visited); |