-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[onert] Use getUses() copy instead of reference #13931
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
0c99307
to
442382f
Compare
OperationIndexSets
instead of using reference
@jyoungyun You cannot check this issue by svace. This was warned by coverity. |
Ah, thank you. I will test it using coverity target. |
This commit fixes the problem that occurs in loop traversal due to change of list by using copy instead of reference. ONE-DCO-1.0-Signed-off-by: Jiyoung Yun <[email protected]>
442382f
to
4469012
Compare
@hseok-oh When I checked this PR using the coverity tool and it did not find out any issues. Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit fixes the problem that occurs in loop traversal due to change of list by using copy instead of reference.
ONE-DCO-1.0-Signed-off-by: Jiyoung Yun [email protected]