Skip to content

Commit

Permalink
Merge pull request grpc#7775 from vjpai/this
Browse files Browse the repository at this point in the history
Remove this->
  • Loading branch information
kpayson64 authored Aug 23, 2016
2 parents 96c598f + c4752d8 commit 1754624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpp/util/byte_buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1754624

Please sign in to comment.