Fix builds where HAVE_C___ATOMIC is not defined. (#12240)
vkalintiris committed
Feb 24, 2022 at 20:12 UTC
bb9dc984ef4676483858b463536bb3d0ffff496e
1 file changed
+3
-1
ml/Host.h
+3
-1
@@ -31,7 +31,9 @@ public:
31
RRDSET_TYPE_LINE
32
);
33
34
- rrdset_flag_set(AnomalyRateRS, RRDSET_FLAG_HIDDEN);
34
+ AnomalyRateRS->flags = static_cast<RRDSET_FLAGS>(
35
+ static_cast<int>(AnomalyRateRS->flags) | RRDSET_FLAG_HIDDEN
36
+ );
37
}
38
39
RRDHOST *getRH() { return RH; }