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

extensions/khr/device_group_creation: Take borrow of Entry in new() #753

Merged
merged 1 commit into from
May 6, 2023

Conversation

MarijnS95
Copy link
Collaborator

Looks like #630 typo'd the argument for DeviceGroupCreation::new() by unnecessarily requiring a move (Clone) of Entry just to call get_instance_proc_addr() on it. Replace this with a borrow to match all other extensions.

Looks like #630 typo'd the argument for `DeviceGroupCreation::new()` by
unnecessarily requiring a move (`Clone`) of `Entry` just to call
`get_instance_proc_addr()` on it.  Replace this with a borrow to match
all other extensions.
Copy link
Collaborator

@Ralith Ralith left a comment

Choose a reason for hiding this comment

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

Good catch!

@Ralith Ralith merged commit d783af0 into master May 6, 2023
@Ralith Ralith deleted the device-group-creation-borrow-entry branch May 6, 2023 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants