>From 501b2a82b11ea71784847998b672a12782885ef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= Date: Fri, 4 Nov 2016 00:26:06 -0400 Subject: [PATCH 2/2] Bug 683121 - Fix test to build. * tests/test-breakpoint.cc (on_threads_listed_signal): Change signal handler signature. --- tests/test-breakpoint.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/test-breakpoint.cc b/tests/test-breakpoint.cc index f760de7..bef6f11 100644 --- a/tests/test-breakpoint.cc +++ b/tests/test-breakpoint.cc @@ -160,16 +160,15 @@ on_variable_type_signal (const UString &a_variable_name, } void -on_threads_listed_signal (const std::list &a_thread_ids, +on_threads_listed_signal (const std::list> &a_thread_ids, const UString &a_cookie) { if (a_cookie.empty ()) {} MESSAGE ("number of threads: '" << (int)a_thread_ids.size ()); - std::list::const_iterator it; - for (it = a_thread_ids.begin (); it != a_thread_ids.end () ; ++it) { - MESSAGE ("thread-id: '" << *it); + for (auto it = a_thread_ids.cbegin (); it != a_thread_ids.cend () ; ++it) { + MESSAGE ("thread-id: '" << it->first); } } -- 2.9.3