diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-12-17 07:14:28 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2021-01-13 07:28:47 +0000 |
commit | 675abca1caad1c295330caa5e9b42cc812caee83 (patch) | |
tree | 126dcff158f624de28958944d3fa6a38be3c1c18 /src/libs/3rdparty/cplusplus/FullySpecifiedType.h | |
parent | 0e7774e75dc74e9599fb5100c3c9c54187c56aa8 (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.h | 2 |
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; |