diff options
author | yang-g <yangg@google.com> | 2018-07-17 12:00:55 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2018-07-17 12:06:31 -0700 |
commit | f48d3d5d98e9035db507a84adb13a37e56e0704e (patch) | |
tree | b872cf95f8c1c47da822f760dd72ec39fd66ec00 /include | |
parent | a93fdfce84533eeb26461d2d457256df43dd8078 (diff) |
Initialize member in default ctor
Diffstat (limited to 'include')
-rw-r--r-- | include/grpcpp/impl/codegen/completion_queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpcpp/impl/codegen/completion_queue.h b/include/grpcpp/impl/codegen/completion_queue.h index 9713333cf5..5819e068ba 100644 --- a/include/grpcpp/impl/codegen/completion_queue.h +++ b/include/grpcpp/impl/codegen/completion_queue.h @@ -367,7 +367,7 @@ class ServerCompletionQueue : public CompletionQueue { protected: /// Default constructor - ServerCompletionQueue() {} + ServerCompletionQueue() : polling_type_(GRPC_CQ_DEFAULT_POLLING) {} private: /// \param is_frequently_polled Informs the GRPC library about whether the |