From: Tom Tromey Date: Tue, 11 Mar 2025 15:32:33 +0000 (-0600) Subject: Use gdb unordered set in symtab.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2c9928fe677aa0ca2c82b3de61478b54bbac4f0;p=thirdparty%2Fbinutils-gdb.git Use gdb unordered set in symtab.c This changes symtab.c to use gdb:unordered_set. Approved-By: Simon Marchi --- diff --git a/gdb/symtab.c b/gdb/symtab.c index aa09706453c..06e2cd5b877 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -75,7 +75,7 @@ #include "gdbsupport/pathstuff.h" #include "gdbsupport/common-utils.h" #include -#include +#include "gdbsupport/unordered_set.h" /* Forward declarations for local functions. */ @@ -5623,7 +5623,7 @@ rbreak_command (const char *regexp, int from_tty) spec.add_filename (std::move (file_name)); std::vector symbols = spec.search (); - std::unordered_set seen_names; + gdb::unordered_set seen_names; scoped_rbreak_breakpoints finalize; int err_count = 0;