Skip to content

Commit

Permalink
Update valueflow.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jul 29, 2023
1 parent de7096e commit f66896e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/valueflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4282,7 +4282,7 @@ static bool hasBorrowingVariables(const std::list<Variable>& vars, const std::ve
if (vt->type == ValueType::CONTAINER && vt->container)
return vt->container->view;
if (vt->typeScope)
return isOwningVariables(vt->typeScope->varlist, args, depth - 1);
return hasBorrowingVariables(vt->typeScope->varlist, args, depth - 1);
}
return false;
});
Expand Down

0 comments on commit f66896e

Please sign in to comment.