Commit 4917691e authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

micro-optimization

parent 6823cecb
......@@ -503,8 +503,7 @@ void GdbEngine::handleResponse(const QByteArray &buff)
if (*inner < 'a' || *inner > 'z')
break;
QByteArray resultClass(from, inner - from);
QByteArray resultClass = QByteArray::fromRawData(from, inner - from);
if (resultClass == "done")
record.resultClass = GdbResultDone;
else if (resultClass == "running")
......
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