Skip to content
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

Cleanup: Stop passing around a superfluous []ClientState #207

Merged
merged 1 commit into from
Jan 3, 2022

Conversation

zenhack
Copy link
Contributor

@zenhack zenhack commented Dec 31, 2021

This only actually gets used in sendCap(), but there we have a reference
to the corresponding client, so we can just call client.State() instead
of carrying around this parallel slice everywhere.

This only actually gets used in sendCap(), but there we have a reference
to the corresponding client, so we can just call client.State() instead
of carrying around this parallel slice everywhere.
Copy link
Collaborator

@lthibault lthibault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always happy to see code being removed! 🙂

@lthibault lthibault merged commit 8c878e0 into capnproto:main Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants