Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix use-after-move #552

Merged
merged 1 commit into from
Apr 19, 2023
Merged

fix use-after-move #552

merged 1 commit into from
Apr 19, 2023

Conversation

mikea
Copy link
Contributor

@mikea mikea commented Apr 19, 2023

as it is written now hash will always be computed of an empty string.

as it is written now hash will always be computed of an empty string.
@mikea mikea requested review from jasnell and kentonv April 19, 2023 21:14
@mikea mikea merged commit 5d64b05 into main Apr 19, 2023
@mikea mikea deleted the maizatskyi/2023-04-19-fix-use-after-move branch April 19, 2023 22:09
@kentonv
Copy link
Member

kentonv commented Apr 19, 2023

Looks like Name::hash isn't actually used, we could delete it. (As-is it's not very useful since there's no corresponding operator==.)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants