diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2019-04-21 00:46:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-21 00:46:07 +0300 |
commit | bc7178422e98c86c7c8c9d9e572a9c6941836d79 (patch) | |
tree | 01e46eb66d50e1c5d6b06295dba455ac8dc020f3 /core/ordered_hash_map.h | |
parent | 58999720491884429fa76b7d61c503f47657f4c6 (diff) | |
parent | 8b1e297fc6567ead2c400199348d89e17b552899 (diff) |
Merge pull request #28217 from hpvb/fix-28089
Don't crash on printing nested types
Diffstat (limited to 'core/ordered_hash_map.h')
-rw-r--r-- | core/ordered_hash_map.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/ordered_hash_map.h b/core/ordered_hash_map.h index 09d43d6797..2c18de92be 100644 --- a/core/ordered_hash_map.h +++ b/core/ordered_hash_map.h @@ -274,6 +274,10 @@ public: inline bool empty() const { return list.empty(); } inline int size() const { return list.size(); } + const void *id() const { + return list.id(); + } + void clear() { map.clear(); list.clear(); |