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

class std::map has no member named 'contains' on Debian Sid #983

Closed
pavel-odintsov opened this issue Jun 7, 2023 · 2 comments
Closed

class std::map has no member named 'contains' on Debian Sid #983

pavel-odintsov opened this issue Jun 7, 2023 · 2 comments

Comments

@pavel-odintsov
Copy link
Owner

   60 |         return packet_buckets_map.contains(lookup_ip);
@pavel-odintsov
Copy link
Owner Author

Contains is available only in C++ 20: https://en.cppreference.com/w/cpp/container/map/contains

@pavel-odintsov
Copy link
Owner Author

It was issue with CI and we had issues with C++ version configuration. We can return contains()

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

1 participant