فهرست منبع

Merge pull request #15957 from ghalliday/issue27443

HPCC-27443 Fix potential crash in metric manager

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 3 سال پیش
والد
کامیت
00235a7530
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      system/jlib/jmetrics.hpp

+ 2 - 0
system/jlib/jmetrics.hpp

@@ -51,6 +51,8 @@ enum MetricType
  */
 interface IMetric
 {
+    virtual ~IMetric() = default;
+
     /*
      * Returns the metric name
      */