瀏覽代碼

HPCC-27443 Fix potential crash in metric manager

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 3 年之前
父節點
當前提交
f383578d1c
共有 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
      */