Commit 261558eb authored by EXT Arnaud Clère's avatar EXT Arnaud Clère
Browse files

Small simplification

parent 1f7eaae7
......@@ -368,7 +368,7 @@ struct QBind<TResult, QJsonValue> {
QJsonValue v;
s = i.bind(v);
if (s)
array.push_back(v);
array.append(v);
}
dst = array;
return s;
......@@ -405,7 +405,7 @@ struct QBind<TResult, QJsonValueRef> {
QJsonValueRef v;
s = i.bind(v);
if (s)
array.push_back(v);
array.append(v);
}
dst = array;
return s;
......@@ -442,7 +442,7 @@ struct QBind<TResult, QJsonArray> {
auto s(src.sequence());
QJsonValue v;
while (s = s.bind(v)) {
dst.push_back(v);
dst.append(v);
}
return s;
}
......
Supports Markdown
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