From c4f4f7ede962358c2216123ca44b7a9616f53d71 Mon Sep 17 00:00:00 2001 From: David Garcia Quintas Date: Wed, 2 Mar 2016 20:37:24 -0800 Subject: clang-format --- include/grpc++/impl/codegen/proto_utils.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'include/grpc++/impl/codegen') diff --git a/include/grpc++/impl/codegen/proto_utils.h b/include/grpc++/impl/codegen/proto_utils.h index 489293d25b..05321619ac 100644 --- a/include/grpc++/impl/codegen/proto_utils.h +++ b/include/grpc++/impl/codegen/proto_utils.h @@ -75,15 +75,14 @@ class ProtoSerializer : public ProtoSerializerInterface { // fails, // false is returned and buffer is left unchanged. Status SerializeProto(const grpc::protobuf::Message& msg, - grpc_byte_buffer** buffer) override; + grpc_byte_buffer** buffer) override; // The caller keeps ownership of buffer and msg. Status DeserializeProto(grpc_byte_buffer* buffer, - grpc::protobuf::Message* msg, - int max_message_size) override; + grpc::protobuf::Message* msg, + int max_message_size) override; }; - template class SerializationTraits::value>::type> { @@ -92,14 +91,16 @@ class SerializationTraitsSerializeProto(msg, buffer); } static Status Deserialize(grpc_byte_buffer* buffer, grpc::protobuf::Message* msg, int max_message_size) { GPR_ASSERT(g_proto_serializer != nullptr && - "No ProtoSerializer instance registered. Make sure grpc++ is being initialized."); + "No ProtoSerializer instance registered. Make sure grpc++ is " + "being initialized."); auto status = g_proto_serializer->DeserializeProto(buffer, msg, max_message_size); grpc_byte_buffer_destroy(buffer); -- cgit v1.2.3