Skip to content

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

Merged
mattklein123 merged 1 commit intoenvoyproxy:mainfrom
cpakulski:weak_ptr
Jul 21, 2022
Merged

c++: provide type to std::weak_ptr template#22334
mattklein123 merged 1 commit intoenvoyproxy:mainfrom
cpakulski:weak_ptr

Conversation

@cpakulski
Copy link
Copy Markdown
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

Signed-off-by: Christoph Pakulski <christoph@tetrate.io>
@phlax
Copy link
Copy Markdown
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