Skip to content

Test with std::stringview #131

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

Merged
merged 2 commits into from
Jun 12, 2025
Merged

Conversation

joto
Copy link
Collaborator

@joto joto commented Jun 3, 2025

The recent change to remove the "unused" PROTOZERO_DATA_VIEW setting was premature. It was intended for testing a version of Protozero using std::string_view instead of the built-in data_view class. The test was broken though, because it set the macro PROTOZERO_DATA_VIEW instead of PROTOZERO_USE_VIEW.

This PR reverts the recent change and then fixes the test.

@joto joto merged commit c8d60c2 into mapbox:master Jun 12, 2025
27 of 28 checks passed
@joto joto deleted the test-with-std-stringview branch June 12, 2025 08:16
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