/* See process-stratum-target.h. */
-std::set<process_stratum_target *>
+gdb::unordered_set<process_stratum_target *>
all_non_exited_process_targets ()
{
/* Inferiors may share targets. To eliminate duplicates, use a set. */
- std::set<process_stratum_target *> targets;
+ gdb::unordered_set<process_stratum_target *> targets;
for (inferior *inf : all_non_exited_inferiors ())
targets.insert (inf->process_target ());
#define GDB_PROCESS_STRATUM_TARGET_H
#include "target.h"
-#include <set>
#include "gdbsupport/intrusive_list.h"
#include "gdbsupport/gdb-checked-static-cast.h"
+#include "gdbsupport/unordered_set.h"
#include "gdbthread.h"
/* Abstract base class inherited by all process_stratum targets. */
/* Return a collection of targets that have non-exited inferiors. */
-extern std::set<process_stratum_target *> all_non_exited_process_targets ();
+extern gdb::unordered_set<process_stratum_target *>
+ all_non_exited_process_targets ();
/* Switch to the first inferior (and program space) of TARGET, and
switch to no thread selected. */