aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpcpp/impl/codegen/call_op_set.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2019-01-02 14:46:52 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2019-01-02 14:46:52 -0800
commitc6261f4b918a88f5b1fc5cd60e1e2b44e8f83a76 (patch)
treeab36bd753f240ba12e581754a70dfbdc13936837 /include/grpcpp/impl/codegen/call_op_set.h
parent4aeba4252893755ff13b2cc0edfcc954c6d04a6b (diff)
Rename new SendMessage types to SendMessagePtr
Diffstat (limited to 'include/grpcpp/impl/codegen/call_op_set.h')
-rw-r--r--include/grpcpp/impl/codegen/call_op_set.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/grpcpp/impl/codegen/call_op_set.h b/include/grpcpp/impl/codegen/call_op_set.h
index ddee5280cb..310bea93ca 100644
--- a/include/grpcpp/impl/codegen/call_op_set.h
+++ b/include/grpcpp/impl/codegen/call_op_set.h
@@ -307,13 +307,13 @@ class CallOpSendMessage {
/// after use. This form of SendMessage allows gRPC to reference \a message
/// beyond the lifetime of SendMessage.
template <class M>
- Status SendMessage(const M* message,
- WriteOptions options) GRPC_MUST_USE_RESULT;
+ Status SendMessagePtr(const M* message,
+ WriteOptions options) GRPC_MUST_USE_RESULT;
/// This form of SendMessage allows gRPC to reference \a message beyond the
/// lifetime of SendMessage.
template <class M>
- Status SendMessage(const M* message) GRPC_MUST_USE_RESULT;
+ Status SendMessagePtr(const M* message) GRPC_MUST_USE_RESULT;
protected:
void AddOp(grpc_op* ops, size_t* nops) {
@@ -376,13 +376,14 @@ Status CallOpSendMessage::SendMessage(const M& message) {
}
template <class M>
-Status CallOpSendMessage::SendMessage(const M* message, WriteOptions options) {
+Status CallOpSendMessage::SendMessagePtr(const M* message,
+ WriteOptions options) {
msg_ = message;
return SendMessage(*message, options);
}
template <class M>
-Status CallOpSendMessage::SendMessage(const M* message) {
+Status CallOpSendMessage::SendMessagePtr(const M* message) {
msg_ = message;
return SendMessage(*message, WriteOptions());
}