Преглед изворни кода

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