[PATCH] Remove use of scoped_restore_tmpl from scoped_restore_warning_hook

Tom Tromey tom@tromey.com
Tue Feb 6 18:37:20 GMT 2024


>>>>> "Ciaran" == Ciaran Woodward <ciaranwoodward@xmos.com> writes:

Ciaran> By manually implementing the save/restore behaviour, rather
Ciaran> than using the helper template, this warning is fixed.

Thank you.

Ciaran> +  warning_hook_handler m_save;
Ciaran> +  bool m_moved = false;

Can we just delete the move constructor?

Tom


More information about the Gdb-patches mailing list