Skip to content

Commit

Permalink
Fix clang-tidy
Browse files Browse the repository at this point in the history
Signed-off-by: Itamar Kaminski <itamark@google.com>
  • Loading branch information
itamarkam committed Dec 20, 2020
1 parent a9cbacc commit 48e4169
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class MockGrpcAccessLoggerImpl
dispatcher, scope, access_log_prefix, service_method,
transport_api_version) {}

int numInits() const { return num_inits; }
int numInits() const { return num_inits_; }

private:
void mockAddEntry(const std::string& key) {
Expand Down Expand Up @@ -92,9 +92,9 @@ class MockGrpcAccessLoggerImpl

bool isEmpty() override { return message_.fields().empty(); }

void initMessage() override { ++num_inits; }
void initMessage() override { ++num_inits_; }

int num_inits = 0;
int num_inits_ = 0;
};

class GrpcAccessLogTest : public testing::Test {
Expand Down

0 comments on commit 48e4169

Please sign in to comment.