Commit 7a629dda authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port toSet

parent a2f9501c
Pipeline #198450 passed with stage
in 6 minutes and 1 second
......@@ -168,7 +168,8 @@ bool hasTheVar(const QSet<QString> & vars, const Object * o)
} break;
case Object::apply: {
const Apply *c=static_cast<const Apply*>(o);
QSet<QString> bvars=c->bvarStrings().toSet();
const auto &bvarString = c->bvarStrings();
QSet<QString> bvars=QSet<QString>(bvarString.begin(), bvarString.end());
QSet<QString> varsCopy=vars;
foreach(const QString &var, bvars) {
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