diff options
author | yang-g <yangg@google.com> | 2016-09-22 14:15:46 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2016-09-22 14:15:46 -0700 |
commit | e267f86c43fa7a915992c674325b195f94f34dc6 (patch) | |
tree | 82bd0131b13b68e8b66e0d7aaa5167087af63143 /test/cpp | |
parent | 6984840145c6d5bb581e2880345e684665b2c040 (diff) |
Properly init variable
Diffstat (limited to 'test/cpp')
-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() {} |