mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-25 14:01:00 +08:00
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>
This commit is contained in:
parent
c2c9928fe6
commit
d0ed7bf67d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user