Re: [RFA 09/22] Remove make_cleanup_restore_current_ui

Tom Tromey
2016-10-06T02:52:47Z

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

>> +class switch_thru_all_uis
>> {
>> +public:
>> +
>> + switch_thru_all_uis () : iter (nullptr), save_ui (&current_ui)
>> + {
>> + iter = ui_list;

Pedro> This initializes "iter" twice.

Thanks. Apparently I already found that one and fixed it on my branch,
because now I see:

+ switch_thru_all_uis () : m_iter (ui_list), m_save_ui (&current_ui)
+ {
+ }
+

Tom