diff options
author | 2016-08-18 10:06:38 -0700 | |
---|---|---|
committer | 2016-08-18 10:06:38 -0700 | |
commit | c4752d88572b3df012f701b45866d03a204ff7a5 (patch) | |
tree | 38f74e933e246dd4c4823eacd497d449efcd69bf | |
parent | f4112fc06e126ae4adc4dce99d71d021ff36bf9a (diff) |
Remove this->
-rw-r--r-- | src/cpp/util/byte_buffer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpp/util/byte_buffer.cc b/src/cpp/util/byte_buffer.cc index 4c4772a92b..91ed66b766 100644 --- a/src/cpp/util/byte_buffer.cc +++ b/src/cpp/util/byte_buffer.cc @@ -104,8 +104,8 @@ ByteBuffer& ByteBuffer::operator=(const ByteBuffer& buf) { void ByteBuffer::Swap(ByteBuffer* other) { grpc_byte_buffer* tmp = other->buffer_; - other->buffer_ = this->buffer_; - this->buffer_ = tmp; + other->buffer_ = buffer_; + buffer_ = tmp; } } // namespace grpc |