From d0bfd2ac518333369a384d58882ff37d5288225f Mon Sep 17 00:00:00 2001 From: Nobuhiro Tachino Date: Tue, 2 Feb 2010 12:19:18 -0500 Subject: rhbz 560890: preserve -L/-l variable ordering Switch to list from set for collecting available $var lists. Use O(N**2) list-uniqueifier that preserves initial ordering. --- elaborate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elaborate.h') diff --git a/elaborate.h b/elaborate.h index 30a02c5b..0a1549fb 100644 --- a/elaborate.h +++ b/elaborate.h @@ -17,6 +17,7 @@ #include #include #include +#include extern "C" { #include @@ -129,7 +130,7 @@ struct derived_probe: public probe virtual probe_point* sole_location () const; virtual void printsig (std::ostream &o) const; // return arguments of probe if there - virtual void getargs (std::set &arg_set) const {} + virtual void getargs (std::list &arg_set) const {} void printsig_nested (std::ostream &o) const; virtual void collect_derivation_chain (std::vector &probes_list); -- cgit