forked from qt-creator/qt-creator
Debugger: Privatize GdbMi::m_children
Change-Id: I6e51290c4521be40f516a452f32bdc82a4c051e6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -407,8 +407,9 @@ void WatchItem::parseHelper(const GdbMi &input, bool maySort)
|
||||
qulonglong addressBase = input["addrbase"].data().toULongLong(&ok, 0);
|
||||
qulonglong addressStep = input["addrstep"].data().toULongLong(&ok, 0);
|
||||
|
||||
for (int i = 0, n = int(children.children().size()); i != n; ++i) {
|
||||
const GdbMi &subinput = children.children().at(i);
|
||||
int i = -1;
|
||||
for (const GdbMi &subinput : children) {
|
||||
++i;
|
||||
auto child = new WatchItem;
|
||||
if (childType.isValid())
|
||||
child->type = childType.data();
|
||||
|
||||
Reference in New Issue
Block a user