summaryrefslogtreecommitdiffstats
path: root/src/doxygen.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-04-29 19:25:24 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-04-29 19:25:24 (GMT)
commit6ca67aa0e617816789f2a662c86ad82426377b71 (patch)
tree77a589554e5c9b6df1caefc3a72bb6213ecbf731 /src/doxygen.h
parente0e5f733ca5b41365ca76bbba1b7529cd1f24b66 (diff)
downloadDoxygen-6ca67aa0e617816789f2a662c86ad82426377b71.zip
Doxygen-6ca67aa0e617816789f2a662c86ad82426377b71.tar.gz
Doxygen-6ca67aa0e617816789f2a662c86ad82426377b71.tar.bz2
Refactoring: replace Doxygen::namespaceAliasDict by Doxygen::namespaceAliasMap
Diffstat (limited to 'src/doxygen.h')
-rw-r--r--src/doxygen.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/doxygen.h b/src/doxygen.h
index 8e1354a..30d136f 100644
--- a/src/doxygen.h
+++ b/src/doxygen.h
@@ -24,6 +24,7 @@
#include <set>
#include <unordered_set>
+#include <unordered_map>
#include "ftextstream.h"
#include "sortdict.h"
@@ -84,6 +85,8 @@ struct LookupInfo
QCString resolvedType;
};
+using StringMap = std::unordered_map<std::string,std::string>;
+
extern QCString g_spaces;
/*! \brief This class serves as a namespace for global variables used by doxygen.
@@ -110,7 +113,7 @@ class Doxygen
static MemberNameLinkedMap *memberNameLinkedMap;
static MemberNameLinkedMap *functionNameLinkedMap;
static QStrList tagfileList;
- static StringDict namespaceAliasDict;
+ static StringMap namespaceAliasMap;
static GroupSDict *groupSDict;
static NamespaceSDict *namespaceSDict;
static StringDict tagDestinationDict;