Fix get_data_and_clear() return variable

dev v0.3
marcelb 11 months ago
parent 8210800683
commit ba0aa95117
  1. 2
      src/metrics.cpp

@ -31,5 +31,5 @@ map<string, uint> marcelb::Metrics::get_data() {
map<string, uint> marcelb::Metrics::get_data_and_clear() {
auto data = counters;
clear();
return counters;
return data;
}
Loading…
Cancel
Save