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

class PolicyAddrParams needs polymorphism #1295

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Conversation

kedixa
Copy link
Contributor

@kedixa kedixa commented Jun 12, 2023

~PolicyAddrParams called in ~EndpointAddress must destroy derived classes

~PolicyAddrParams called in ~EndpointAddress must destroy derived
classes
@Barenboim
Copy link
Contributor

目前的派生关系没有内存泄露的风险,因为派生类也没有需要析构的成员。这个好像是某些编译器会警告?

@Barenboim Barenboim merged commit 4c0cafb into sogou:master Jun 12, 2023
2 checks passed
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.

None yet

2 participants