cppcheck
cppcheck copied to clipboard
check-library warns on access to a function call operator via an auto reference
I have no clue how to fix it but I noticed something so I thought I'd create a test to see if you think it's a bug and if it's fixable.
This is probably not the right place to put that test, but I don't know any better.
Thank you for your contribution.
We are aware of this. There's still lots of false positive --check-library warnings in our own code base - see #3082 about enabling those in our CI and fixing them.
Some of them are already fixed by the pending #4824 and #4826. Or are being tracked by any of the tickets in the other PR.