diff options
author | Craig Tiller <ctiller@google.com> | 2016-09-22 15:05:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-22 15:05:17 -0700 |
commit | 6e03558a5eae6ec88e87f5f79b125401d77e6cd3 (patch) | |
tree | 2f0695ec965278a513c7ba83cbc41d0b9e5fb133 /test | |
parent | 1696e5da0dce6fc83b75fef6a20696eca3178844 (diff) | |
parent | e267f86c43fa7a915992c674325b195f94f34dc6 (diff) |
Merge pull request #8173 from yang-g/init_variable
Properly init variable
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/qps/client.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/cpp/qps/client.h b/test/cpp/qps/client.h index c8809cbc5b..5fb87b2782 100644 --- a/test/cpp/qps/client.h +++ b/test/cpp/qps/client.h @@ -129,7 +129,10 @@ class HistogramEntry GRPC_FINAL { class Client { public: - Client() : timer_(new UsageTimer), interarrival_timer_() { + Client() + : timer_(new UsageTimer), + interarrival_timer_(), + started_requests_(false) { gpr_event_init(&start_requests_); } virtual ~Client() {} |