From 4b42789bdaccb89441ebd0b85fe7ab7fdea04df5 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 25 Sep 2018 18:48:29 +0200 Subject: Debugger: Privatize GdbMi::m_children Change-Id: I6e51290c4521be40f516a452f32bdc82a4c051e6 Reviewed-by: Christian Stenger --- src/plugins/debugger/breakpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/debugger/breakpoint.cpp') diff --git a/src/plugins/debugger/breakpoint.cpp b/src/plugins/debugger/breakpoint.cpp index dc1e43559f..b5d8236b2f 100644 --- a/src/plugins/debugger/breakpoint.cpp +++ b/src/plugins/debugger/breakpoint.cpp @@ -296,7 +296,7 @@ void BreakpointParameters::updateFromGdbOutput(const GdbMi &bkpt) enabled = true; pending = false; condition.clear(); - for (const GdbMi &child : bkpt.children()) { + for (const GdbMi &child : bkpt) { if (child.hasName("number")) { // Handled on caller side. } else if (child.hasName("func")) { -- cgit v1.2.1