aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-19 10:05:13 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-19 10:05:13 -0800
commit62f28bfcf0cdda607278542566ddfc0a7cbd9f00 (patch)
treef88746cfcb1fe551b9285603016bb7cb3db91f3e /include/grpc++/support
parent72e670843c799b2b77eb0eee635aa4d17f4eaf90 (diff)
Remove double-checking of max-message-size in C++ layers
Diffstat (limited to 'include/grpc++/support')
-rw-r--r--include/grpc++/support/byte_buffer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/grpc++/support/byte_buffer.h b/include/grpc++/support/byte_buffer.h
index 1f317df663..064a03b977 100644
--- a/include/grpc++/support/byte_buffer.h
+++ b/include/grpc++/support/byte_buffer.h
@@ -95,8 +95,7 @@ class ByteBuffer final {
template <>
class SerializationTraits<ByteBuffer, void> {
public:
- static Status Deserialize(grpc_byte_buffer* byte_buffer, ByteBuffer* dest,
- int max_receive_message_size) {
+ static Status Deserialize(grpc_byte_buffer* byte_buffer, ByteBuffer* dest) {
dest->set_buffer(byte_buffer);
return Status::OK;
}