Merge pull request #14198 from jtattermusch/call_warning_and_typo

Fix warning & typo in grpc++/impl/codegen/call.h
pull/14200/head
Vijay Pai 7 years ago committed by GitHub
commit 2d9e675dca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      include/grpc++/impl/codegen/call.h

@ -607,7 +607,7 @@ class CallOpSetInterface : public CompletionQueueTag {
virtual void FillOps(grpc_call* call, grpc_op* ops, size_t* nops) = 0; virtual void FillOps(grpc_call* call, grpc_op* ops, size_t* nops) = 0;
}; };
/// Primary implementaiton of CallOpSetInterface. /// Primary implementation of CallOpSetInterface.
/// Since we cannot use variadic templates, we declare slots up to /// Since we cannot use variadic templates, we declare slots up to
/// the maximum count of ops we'll need in a set. We leverage the /// the maximum count of ops we'll need in a set. We leverage the
/// empty base class optimization to slim this class (especially /// empty base class optimization to slim this class (especially
@ -624,7 +624,7 @@ class CallOpSet : public CallOpSetInterface,
public Op5, public Op5,
public Op6 { public Op6 {
public: public:
CallOpSet() : return_tag_(this) {} CallOpSet() : return_tag_(this), call_(nullptr) {}
void FillOps(grpc_call* call, grpc_op* ops, size_t* nops) override { void FillOps(grpc_call* call, grpc_op* ops, size_t* nops) override {
this->Op1::AddOp(ops, nops); this->Op1::AddOp(ops, nops);
this->Op2::AddOp(ops, nops); this->Op2::AddOp(ops, nops);

Loading…
Cancel
Save