Skip to content

Commit

Permalink
Merge pull request grpc#8173 from yang-g/init_variable
Browse files Browse the repository at this point in the history
Properly init variable
  • Loading branch information
ctiller authored Sep 22, 2016
2 parents 1696e5d + e267f86 commit 6e03558
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/cpp/qps/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
Expand Down

0 comments on commit 6e03558

Please sign in to comment.