CLion inspection gives false alarm comparing iterators
Answered

Quotas is a std::unordered_map<uint32_t, uint32_t> object. The inspector gives "Can't compare structures" alarm while the code is legitimate and compiles with no problem.
Please sign in to leave a comment.
Hi! Thanks for reporting. We have the related issue about map/unordered_map/other containers: https://youtrack.jetbrains.com/issue/CPP-10947. Feel free to comment or upvote, follow it to get updates.
I have the same and it is really disturbing since it also gives a red line in the margin of so many of files. I just assumed it would be fixed since it is so very disturbing, but obviously I was a bit naive there. CPP-10947 is closed. Please advice me where I shall upvote and I will do so. Thanks.
Edit: I am on Windows 10, Clion 2017.3.3.
Sorry for the inconvenience. The more accurate issue for this case is https://youtrack.jetbrains.com/issue/CPP-11511. Please follow it.