change map to unordered_map

This commit is contained in:
Valk Richard Li
2021-03-01 15:54:58 +08:00
parent 79dc13f419
commit a421470715
8 changed files with 89 additions and 109 deletions
+1 -1
View File
@@ -449,7 +449,7 @@ nasal_ast nasal_parse::args_gen()
if(checked_dynamic_ids && i!=node_child_size-1)
die(node.get_children()[i].get_line(),"dynamic identifier must be the end of argument list: "+args_format);
}
std::map<std::string,bool> argname_table;
std::unordered_map<std::string,bool> argname_table;
for(int i=0;i<node_child_size;++i)
{
std::string new_name;