clang-format

pull/4907/head
Vijay Pai 9 years ago
parent a24e9d774c
commit e0b0e27f3a
  1. 4
      src/cpp/util/byte_buffer.cc

@ -31,8 +31,8 @@
*
*/
#include <grpc/byte_buffer_reader.h>
#include <grpc++/support/byte_buffer.h>
#include <grpc/byte_buffer_reader.h>
namespace grpc {
@ -84,7 +84,7 @@ ByteBuffer::ByteBuffer(const ByteBuffer& buf)
: buffer_(grpc_byte_buffer_copy(buf.buffer_)) {}
ByteBuffer& ByteBuffer::operator=(const ByteBuffer& buf) {
Clear(); // first remove existing data
Clear(); // first remove existing data
if (buf.buffer_) {
buffer_ = grpc_byte_buffer_copy(buf.buffer_); // then copy
}

Loading…
Cancel
Save