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

Move only arguments #77

Merged
merged 2 commits into from
Feb 28, 2017
Merged

Move only arguments #77

merged 2 commits into from
Feb 28, 2017

Conversation

dgel
Copy link

@dgel dgel commented Jan 12, 2017

I've managed to get fakeit to work with move-only arguments in mocked functions. I'm not entirely sure of why this works however, so please be skeptical. Should fix #57 however

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.974% when pulling 46ed2fa on dgel:move-only-arguments into ad413b5 on eranpeer:master.

@eranpeer eranpeer merged commit b03f870 into eranpeer:master Feb 28, 2017
@eranpeer
Copy link
Owner

Thanks, simple and nice improvement.

@bchougreen
Copy link

This fix just saved me 2 days of work... I had just run into this problem with an earlier release of fakeit today and it was magically fixed. Thank you!

@kapil-dhaimade
Copy link

Hello, we're getting this same issue in the latest 2.0.5 release of FakeIt. Can you please help with this? Mocking a function which takes a unique_ptr as parameter gives us compilation error same as this ticket. Tested this on VS 2013 and VS 2019.

This pull request was closed.
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.

Mocking functions with move only parameters
5 participants