diff options
author | Vladimir Kobal <vlad@prokk.net> | 2022-05-12 15:08:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 14:08:38 +0200 |
commit | a68ae03b9c710ffc6ff634a9ebdcf030dd5808ff (patch) | |
tree | 6e97c90689cd935af7b6cba720efcbc93773164a /ml | |
parent | b3c1cf515142d36740a8fb6b2717753176e8255d (diff) |
Fix compilation warnings (#12886)
Diffstat (limited to 'ml')
-rw-r--r-- | ml/Dimension.h | 2 | ||||
-rw-r--r-- | ml/ml.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ml/Dimension.h b/ml/Dimension.h index c29df781a4..e4f8bd1c70 100644 --- a/ml/Dimension.h +++ b/ml/Dimension.h @@ -48,7 +48,7 @@ public: } virtual ~RrdDimension() { - rrddim_free_custom(AnomalyRateRD->rrdset, AnomalyRateRD, 0); + rrddim_free(AnomalyRateRD->rrdset, AnomalyRateRD); } private: @@ -10,9 +10,9 @@ extern "C" { #include "daemon/common.h" #include "web/api/queries/rrdr.h" -// This is an internal DBEngine function redeclared here so that we can free +// This is a DBEngine function redeclared here so that we can free // the anomaly rate dimension, whenever its backing dimension is freed. -extern void rrddim_free_custom(RRDSET *st, RRDDIM *rd, int db_rotated); +extern void rrddim_free(RRDSET *st, RRDDIM *rd); typedef void* ml_host_t; typedef void* ml_dimension_t; |