Browse Source

HPCC-27443 Fix potential crash in metric manager

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 3 years ago
parent
commit
f383578d1c
1 changed files with 2 additions and 0 deletions
  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
      */