mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
class PolicyAddrParams needs polymorphism
~PolicyAddrParams called in ~EndpointAddress must destroy derived classes
This commit is contained in:
@@ -71,6 +71,8 @@ public:
|
||||
|
||||
PolicyAddrParams();
|
||||
PolicyAddrParams(const struct AddressParams *params);
|
||||
|
||||
virtual ~PolicyAddrParams() = default;
|
||||
};
|
||||
|
||||
class EndpointAddress
|
||||
|
||||
Reference in New Issue
Block a user