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

IDM: Minor update to use std::static_pointer_cast #7998

Merged
merged 1 commit into from Apr 11, 2020

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Apr 9, 2020

Use std::static_pointer_cast in a few places to better mark the intent, also use std::move and copy elision (in idm::withdraw) wherever seems appropriate to avoid redundent copies.

@elad335 elad335 force-pushed the static_ptr branch 2 times, most recently from c7987a8 to c19a9dc Compare April 9, 2020 16:38
@AniLeo AniLeo requested a review from Nekotekina April 10, 2020 09:07
@Nekotekina
Copy link
Member

This is sad, move versions of static_pointer_cast isn't available everywhere. Can't find proposal to track it.

@Nekotekina Nekotekina merged commit 93b8f3b into RPCS3:master Apr 11, 2020
@elad335 elad335 deleted the static_ptr branch April 11, 2020 08:35
@Nekotekina
Copy link
Member

@elad335 elad335 mentioned this pull request Apr 11, 2020
@elad335 elad335 changed the title idm: Minor update to use std::static_pointer_cast IDM: Minor update to use std::static_pointer_cast Aug 16, 2021
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.

None yet

2 participants