summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakpoint.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-09-25 18:48:29 +0200
committerhjk <hjk@qt.io>2018-09-26 06:15:41 +0000
commit4b42789bdaccb89441ebd0b85fe7ab7fdea04df5 (patch)
treec0f90edf71ab633668779b457e345382f43719fc /src/plugins/debugger/breakpoint.cpp
parente0dcb645cdc3a2a006e67b0d1f04bd704540cb53 (diff)
downloadqt-creator-4b42789bdaccb89441ebd0b85fe7ab7fdea04df5.tar.gz
Debugger: Privatize GdbMi::m_children
Change-Id: I6e51290c4521be40f516a452f32bdc82a4c051e6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/breakpoint.cpp')
-rw-r--r--src/plugins/debugger/breakpoint.cpp2
1 files changed, 1 insertions, 1 deletions
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")) {