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

Revert "Use reference in range-for with non trivial type" #295

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

derekmauro
Copy link
Member

/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc:559:27: error: loop variable 'prefix' of type 'const std::string&' {aka 'const std::__cxx11::basic_string&'} binds to a temporary constructed from type 'const char* const' [-Werror=range-loop-construct]
559 | for (const std::string& prefix : prefixes) {

@derekmauro derekmauro requested a review from dinord July 8, 2024 20:57
@derekmauro derekmauro merged commit 88b3097 into master Jul 8, 2024
5 checks passed
@derekmauro derekmauro deleted the revert-294-feature/fix-clazy-warning branch July 8, 2024 22:17
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