From c2c9928fe677aa0ca2c82b3de61478b54bbac4f0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 11 Mar 2025 09:32:33 -0600 Subject: [PATCH] Use gdb unordered set in symtab.c This changes symtab.c to use gdb:unordered_set. Approved-By: Simon Marchi --- gdb/symtab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.2