Commit 522006fc authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

remove unused findChild overload with default arg

parent 9937ef8e
......@@ -277,18 +277,6 @@ GdbMi GdbMi::findChild(const QByteArray &name) const
return GdbMi();
}
GdbMi GdbMi::findChild(const QByteArray &name, const QByteArray &defaultData) const
{
for (int i = 0; i < m_children.size(); ++i)
if (m_children.at(i).m_name == name)
return m_children.at(i);
GdbMi result;
result.m_data = defaultData;
return result;
}
//////////////////////////////////////////////////////////////////////////////////
//
// GdbResultRecord
......
......@@ -122,7 +122,6 @@ public:
const GdbMi &childAt(int index) const { return m_children[index]; }
GdbMi &childAt(int index) { return m_children[index]; }
GdbMi findChild(const QByteArray &name) const;
GdbMi findChild(const QByteArray &name, const QByteArray &defaultString) const;
QByteArray toString(bool multiline = false, int indent = 0) const;
void fromString(const QByteArray &str);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment