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

Templatized base types now work with mock_interface #117

Closed
wants to merge 1 commit into from

Conversation

rcdailey
Copy link
Contributor

@rcdailey rcdailey commented Jan 29, 2019

When using a template base class as the parameter to mock_interface, the IMPLEMENT_MOCKn()
macros fail to compile due to typename missing before the decltype(..)::type statement.

Fixes #116

@coveralls
Copy link

coveralls commented Jan 29, 2019

Coverage Status

Coverage decreased (-0.002%) to 99.525% when pulling d7e0b0d on rcdailey:implement-mock-typename into 470b827 on rollbear:master.

@rollbear
Copy link
Owner

Thank you. Would you mind adding a test case, to prevent the bug returning n the future?

When using a template base class as the parameter to `mock_interface`, the `IMPLEMENT_MOCKn()`
macros fail to compile due to `typename` missing before the `decltype(..)::type` statement.

Fixes rollbear#116

Signed-off-by: Robert Dailey <[email protected]>
@rcdailey rcdailey force-pushed the implement-mock-typename branch from 7d2f00a to d7e0b0d Compare March 6, 2019 17:24
@rcdailey rcdailey closed this Jul 6, 2020
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.

Templatized base types do not work with mock_interface
3 participants