11.08., 9:00 - 11:00: Due to updates GitLab will be unavailable for some minutes between 09:00 and 11:00.

Commit ccfea02a authored by Alessio Netti's avatar Alessio Netti

Fixing warnings

parent b2ceb1cb
......@@ -214,7 +214,7 @@ public:
virtual float getMsgRate() override {
float msgRate = 0;
for (const auto &u : _units) {
msgRate += (float)u->getBaseOutputs().size() * (1000.0f / (float)_interval) / (float)_minValue;
msgRate += (float)u->getBaseOutputs().size() * (1000.0f / (float)_interval) / (float)_minValues;
}
return msgRate;
}
......
......@@ -51,7 +51,7 @@ PerSystSqlOperator::PerSystSqlOperator(const std::string& name) :
OperatorTemplate(name), JobOperatorTemplate(name), _number_of_even_quantiles(
0), _severity_formula(NOFORMULA), _severity_threshold(0), _severity_exponent(
0), _severity_max_memory(0), _go_back_ns(0), _backend(DEFAULT), _scaling_factor(
1), _property_id(0), _searchedOnceForMetaData(false) {
1), _searchedOnceForMetaData(false), _property_id(0) {
_persystdb = MariaDB::getInstance();
}
......
......@@ -173,7 +173,7 @@ class IPMISensorBase : public SensorBase {
}
}
void printConfig(LOG_LEVEL ll, LOGGER &lg, unsigned leadingSpaces = 16) {
void printConfig(LOG_LEVEL ll, LOGGER &lg, unsigned leadingSpaces = 16) override {
std::string leading(leadingSpaces, ' ');
LOG_VAR(ll) << leading << " Type: " << getTypeString();
switch (_type) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment