missing return statement

master
Ismael Gomez 7 years ago
parent d74a9de86d
commit 14916fdc9a

@ -34,6 +34,7 @@ public:
bool init(metrics_interface<metrics_t> *m_, float report_period_secs=1.0) {
m = m_;
start_periodic(report_period_secs*1e6);
return true;
}
void stop() {
thread_cancel();
@ -47,7 +48,7 @@ private:
void run_period() {
metrics_t metric;
m->get_metrics(metric);
for (int i=0;i<listeners.size();i++) {
for (uint32_t i=0;i<listeners.size();i++) {
listeners[i]->set_metrics(metric);
}
}

Loading…
Cancel
Save