Skip to content

Commit

Permalink
fix clang-tidy errors in null stats (envoyproxy#7760)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Marantz <[email protected]>
  • Loading branch information
jmarantz authored and mattklein123 committed Jul 30, 2019
1 parent e2ca70a commit c499402
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/common/stats/null_counter.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class NullCounterImpl : public MetricImpl<Counter> {
// will not be able to access the SymbolTable& to free the symbols. An RAII
// alternative would be to store the SymbolTable reference in the
// MetricImpl, costing 8 bytes per stat.
MetricImpl::clear(symbolTable());
MetricImpl::clear(symbol_table_);
}

void add(uint64_t) override {}
Expand Down
2 changes: 1 addition & 1 deletion source/common/stats/null_gauge.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class NullGaugeImpl : public MetricImpl<Gauge> {
// will not be able to access the SymbolTable& to free the symbols. An RAII
// alternative would be to store the SymbolTable reference in the
// MetricImpl, costing 8 bytes per stat.
MetricImpl::clear(symbolTable());
MetricImpl::clear(symbol_table_);
}

void add(uint64_t) override {}
Expand Down

0 comments on commit c499402

Please sign in to comment.