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

c++: provide type to std::weak_ptr template #22334

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

cpakulski
Copy link
Contributor

Commit Message:
provide type to std::weak_ptr template

Additional Description:
Most compilers do not have problems deducing type for std::weak_ptr without explicit type
std::weak_ptr(shared_from_this()), but lack of the type breaks a build on macos 10.15: Homebrew/homebrew-core#105900

Risk Level: Low
Testing: Use existing unit tests.
Docs Changes: No
Release Notes: No
Platform Specific Features: No

@phlax
Copy link
Member

phlax commented Jul 21, 2022

cc @mattklein123 for final stamp

@mattklein123 mattklein123 merged commit 68aa000 into envoyproxy:main Jul 21, 2022
@cpakulski cpakulski deleted the weak_ptr branch July 21, 2022 16:07
@cho-m cho-m mentioned this pull request Sep 19, 2022
6 tasks
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.

4 participants