diff options
author | Tom Tromey <tom@tromey.com> | 2025-03-11 09:37:27 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-03-18 05:32:03 -0600 |
commit | d0ed7bf67d1ef37e48e3886c0278d6b8af23d0ec (patch) | |
tree | ffcc28a703ad05bd945b2f50856139600dc7952a | |
parent | c2c9928fe677aa0ca2c82b3de61478b54bbac4f0 (diff) | |
download | binutils-d0ed7bf67d1ef37e48e3886c0278d6b8af23d0ec.zip binutils-d0ed7bf67d1ef37e48e3886c0278d6b8af23d0ec.tar.gz binutils-d0ed7bf67d1ef37e48e3886c0278d6b8af23d0ec.tar.bz2 |
Use gdb unordered map in ada-exp.y
This changes ada-exp.y to use gdb::unordered_map.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
-rw-r--r-- | gdb/ada-exp.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index cffeada..b25639e 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -36,7 +36,7 @@ %{ #include <ctype.h> -#include <unordered_map> +#include "gdbsupport/unordered_map.h" #include "expression.h" #include "value.h" #include "parser-defs.h" @@ -98,7 +98,7 @@ struct ada_parse_state std::vector<ada_assign_up> assignments; /* Track currently active iterated assignment names. */ - std::unordered_map<std::string, std::vector<ada_index_var_operation *>> + gdb::unordered_map<std::string, std::vector<ada_index_var_operation *>> iterated_associations; auto_obstack temp_space; |