Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Dec 18, 2024
1 parent 28adb89 commit 52e2162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ylt/metric/histogram.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class basic_dynamic_histogram : public dynamic_metric {

void clean_expired_label() override {
sum_->clean_expired_label();
for (auto m : bucket_counts_) {
for (auto &m : bucket_counts_) {
m->clean_expired_label();
}
}
Expand Down

0 comments on commit 52e2162

Please sign in to comment.