From fac4cc9f51c38f50703ce12cb8a7bd2f12fff21d Mon Sep 17 00:00:00 2001 From: "Alan M. Carroll" Date: Mon, 28 Aug 2023 11:30:37 -0500 Subject: [PATCH] Fix missing virtual destructor. --- include/records/I_RecDefs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/records/I_RecDefs.h b/include/records/I_RecDefs.h index 87ae9c2de9e..dc28c978fb9 100644 --- a/include/records/I_RecDefs.h +++ b/include/records/I_RecDefs.h @@ -157,6 +157,7 @@ struct RecRawStatBlock; // The implementation of this was moved out of the records library due to a circular dependency this produced. // look for the implementation of RecRawStatBlockOps in iocore/eventsystem struct RecRawStatBlockOps { + virtual ~RecRawStatBlockOps() = default; virtual int raw_stat_clear_sum(RecRawStatBlock *rsb, int id) = 0; virtual int raw_stat_clear_count(RecRawStatBlock *rsb, int id) = 0; virtual int raw_stat_get_total(RecRawStatBlock *rsb, int id, RecRawStat *total) = 0;