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

treewide: misc fixes for libc++ 19 #2649

Closed
wants to merge 3 commits into from

Conversation

rockwotj
Copy link
Contributor

  • sstring: fixes for lib++ 19
  • log: fixes for libc++ 19
  • net: switch rss_key_type to std::span instead of std::string_view

std::string_view's iterator is now a wrapper type over const char* so we
need to use `data` instead to access the raw pointer.
`std::string_view` has wrapped iterators so now we must use `data()` to
access the raw `const char*`
In libc++ 19 string_view no longer supports unsigned types, so switch
to std::span as the container.
@rockwotj rockwotj marked this pull request as ready for review February 18, 2025 05:23
Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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.

2 participants