瀏覽代碼

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
      */