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

call to 'check' is ambiguous #2184

Closed
MSonn opened this issue Mar 17, 2021 · 1 comment
Closed

call to 'check' is ambiguous #2184

MSonn opened this issue Mar 17, 2021 · 1 comment

Comments

@MSonn
Copy link

MSonn commented Mar 17, 2021

I recently upgraded to 7.1.3 and trunk and noticed that existing code does not compile anymore:

error: call to 'check' is ambiguous
return check(arg_mapper().map(val));

A check function exists in the same namespace as the type that is used with fmt:

https://godbolt.org/z/563zYf

fully qualifying the check call in fmt fixes the issue:

fmt::detail::check(...)

@vitaut
Copy link
Contributor

vitaut commented Mar 18, 2021

Fixed in 1147782, thanks for reporting.

@vitaut vitaut closed this as completed Mar 18, 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

No branches or pull requests

2 participants