From df2c957eee7f5906dcbb174bee2ae4652c268d3b Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 9 Feb 2015 10:49:38 -0800 Subject: [PATCH] Fix compile error --- include/grpc++/call.h | 1 + include/grpc++/config.h | 3 ++- src/cpp/common/call.cc | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/grpc++/call.h b/include/grpc++/call.h index fe9175625d7..8d9412c9b6a 100644 --- a/include/grpc++/call.h +++ b/include/grpc++/call.h @@ -38,6 +38,7 @@ #include #include +#include namespace google { namespace protobuf { diff --git a/include/grpc++/config.h b/include/grpc++/config.h index 52913fbf0f9..1b4b463d359 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 6ae6c6cdb8d..9f8d9364b18 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