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

Fix deprecated inheritance of std::iterator #28212

Merged
merged 1 commit into from Apr 22, 2022
Merged

Conversation

chrisse74
Copy link
Contributor

Fix of "-Wdeprecated-declarations" (seen with clang 13) in the way it was suggested by #25125.
The approach has been slightly adapted to be more like protocolbuffers/protobuf#8741 - mainly by using "using" instead of "typedef".

@nicolasnoble

@stale
Copy link

stale bot commented Apr 16, 2022

This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 30 days. It will be closed automatically if no further update occurs in 7 day. Thank you for your contributions!

@neilo-df
Copy link

Dropping a note here that we have run into the same issue, and we're going to adopt this PR in a test build. I'd appreciate a heads up if either the author or the maintainers have decided on a different solution.

@stale stale bot removed the disposition/stale label Apr 22, 2022
@ctiller ctiller self-requested a review April 22, 2022 18:41
@ctiller ctiller added the release notes: no Indicates if PR should not be in release notes label Apr 22, 2022
@ctiller
Copy link
Member

ctiller commented Apr 22, 2022

This seems like a reasonable change. Going to run it through tests and then just merge.

@chrisse74
Copy link
Contributor Author

We are using this patch in productive code and experienced no problem so far. 😉

@ctiller ctiller merged commit 5968cb6 into grpc:master Apr 22, 2022
@chrisse74
Copy link
Contributor Author

Thanks for merging! :)

@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Apr 26, 2022
aarongable pushed a commit to chromium/chromium that referenced this pull request May 16, 2022
Update gRPC to pull in grpc/grpc#28212 to
unblock upgrading libc++ in Chromium.

Bug: 1273285
Change-Id: I1fb483fadc9bd9d1406fbdd22f5b9263e5b6d014
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3644998
Reviewed-by: Yue Li <updowndota@chromium.org>
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Commit-Queue: Alan Zhao <ayzhao@google.com>
Cr-Commit-Position: refs/heads/main@{#1003976}
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
Update gRPC to pull in grpc/grpc#28212 to
unblock upgrading libc++ in Chromium.

Bug: 1273285
Change-Id: I1fb483fadc9bd9d1406fbdd22f5b9263e5b6d014
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3644998
Reviewed-by: Yue Li <updowndota@chromium.org>
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Commit-Queue: Alan Zhao <ayzhao@google.com>
Cr-Commit-Position: refs/heads/main@{#1003976}
NOKEYCHECK=True
GitOrigin-RevId: 7c5086062c29c919152a4a0e6e2611f6276a006e
zcbenz pushed a commit to yue/abseil-cpp that referenced this pull request Feb 20, 2023
Update gRPC to pull in grpc/grpc#28212 to
unblock upgrading libc++ in Chromium.

Bug: 1273285
Change-Id: I1fb483fadc9bd9d1406fbdd22f5b9263e5b6d014
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3644998
Reviewed-by: Yue Li <updowndota@chromium.org>
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Commit-Queue: Alan Zhao <ayzhao@google.com>
Cr-Commit-Position: refs/heads/main@{#1003976}
NOKEYCHECK=True
GitOrigin-RevId: 7c5086062c29c919152a4a0e6e2611f6276a006e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bloat/none imported Specifies if the PR has been imported to the internal repository lang/c++ per-call-memory/neutral release notes: no Indicates if PR should not be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants