diff --git a/include/grpc++/call.h b/include/grpc++/call.h index fe9175625d7acaf73cc376970742732024affa2e..8d9412c9b6a49738659c700128d5d86462158a45 100644 --- a/include/grpc++/call.h +++ b/include/grpc++/call.h @@ -38,6 +38,7 @@ #include <grpc++/completion_queue.h> #include <memory> +#include <vector> namespace google { namespace protobuf { diff --git a/include/grpc++/config.h b/include/grpc++/config.h index 52913fbf0f9b607c538dec63ee969a77873c2cee..1b4b463d35983c2b0dcc12eeba75d2e9489a030e 100644 --- a/include/grpc++/config.h +++ b/include/grpc++/config.h @@ -39,6 +39,7 @@ namespace grpc { typedef std::string string; -} + +} // namespace grpc #endif // __GRPCPP_CONFIG_H__ diff --git a/src/cpp/common/call.cc b/src/cpp/common/call.cc index 6ae6c6cdb8d7f02e8ddcb967b4424adf92b8ec2e..9f8d9364b18b5390028e9d6b03ccd2fafa7ecc09 100644 --- a/src/cpp/common/call.cc +++ b/src/cpp/common/call.cc @@ -37,7 +37,7 @@ namespace grpc { void Call::PerformOps(CallOpBuffer* buffer, void* tag) { - channel_->PerformOpsOnCall(buffer, tag, call_); + channel_->PerformOpsOnCall(buffer, tag, this); } } // namespace grpc