aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/cplusplus/FullySpecifiedType.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-12-17 07:14:28 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2021-01-13 07:28:47 +0000
commit675abca1caad1c295330caa5e9b42cc812caee83 (patch)
tree126dcff158f624de28958944d3fa6a38be3c1c18 /src/libs/3rdparty/cplusplus/FullySpecifiedType.h
parent0e7774e75dc74e9599fb5100c3c9c54187c56aa8 (diff)
Use std::unordered_map instead of std::map
In theory it should be faster. Change-Id: Ibf6ce8c5dced5a075b57f89ce6e2d5ed1c5d6be7 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/FullySpecifiedType.h')
-rw-r--r--src/libs/3rdparty/cplusplus/FullySpecifiedType.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/3rdparty/cplusplus/FullySpecifiedType.h b/src/libs/3rdparty/cplusplus/FullySpecifiedType.h
index aa983ada10..a8462d503a 100644
--- a/src/libs/3rdparty/cplusplus/FullySpecifiedType.h
+++ b/src/libs/3rdparty/cplusplus/FullySpecifiedType.h
@@ -103,6 +103,8 @@ public:
bool operator != (const FullySpecifiedType &other) const;
bool operator < (const FullySpecifiedType &other) const;
+ size_t hash() const;
+
bool match(const FullySpecifiedType &otherTy, Matcher *matcher = nullptr) const;
FullySpecifiedType simplified() const;