]> granicus.if.org Git - icinga2/blobdiff - lib/livestatus/invavgaggregator.hpp
Merge pull request #6509 from gunnarbeutner/feature/real-constants
[icinga2] / lib / livestatus / invavgaggregator.hpp
index 05a255da84b8e9e31401d090763449b332dcaf22..d8e43d6aa4c809ec8c2e9c51a6d3ea16074d0ff7 100644 (file)
@@ -31,12 +31,8 @@ namespace icinga
  */
 struct InvAvgAggregatorState final : public AggregatorState
 {
-       InvAvgAggregatorState()
-               : InvAvg(0), InvAvgCount(0)
-       { }
-
-       double InvAvg;
-       double InvAvgCount;
+       double InvAvg{0};
+       double InvAvgCount{0};
 };
 
 /**