Error conversion from const ClassName reference to long long int is ambiguous #4428
Unanswered
emiliogq
asked this question in
Community Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Google Mock 1.8.0, and when trying to mock an interface which has some methods that receives some const className references as parameters, I get the following error:
I'm using the old style mock methods MOCK_METHODn.
I did not find anything related in gMock documentation.
Does anybody how to sort it out? Just to let you know, the ClassName type is a type from an external library that I cannot modify.
Thanks in advance,
Beta Was this translation helpful? Give feedback.
All reactions