bneradt commented on code in PR #14103:
URL: https://github.com/apache/trafficserver/pull/14103#discussion_r4607712000


##########
include/iocore/eventsystem/Continuation.h:
##########
@@ -238,9 +232,11 @@ class ContinuationHandler
   too, except where a member documents otherwise. While @c mutex is
   null, handler invocations may run concurrently on different threads.
 */
-class Continuation : private force_VFPT_to_top
+class Continuation
 {
 public:
+  virtual ~Continuation() = default;
+

Review Comment:
   I'm not sure why `: private force_VFPT_to_top` was used previously rather 
than a virtual destructor, but explicitly declaring a virtual destructor will 
create a vtable pointer. So this seems reasonable to me on the face of things.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to