From a0bf79cb35be5264c4428d79076a439bc0d5d8ee Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Fri, 3 Apr 2020 15:31:51 +0200 Subject: [PATCH] Remove usage of this-> --- core-writer/src/RingBuffer.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core-writer/src/RingBuffer.cpp b/core-writer/src/RingBuffer.cpp index 6e833c7..3b046ba 100644 --- a/core-writer/src/RingBuffer.cpp +++ b/core-writer/src/RingBuffer.cpp @@ -51,12 +51,12 @@ void RingBuffer::initialize(size_t slot_size) cout << " with slot_size " << slot_size << endl; #endif - this->write_index_ = 0; - this->slot_size_ = slot_size; - this->buffer_size_ = slot_size * n_slots_; - this->frame_data_buffer_ = new char[buffer_size_]; - this->buffer_used_slots_ = 0; - this->ring_buffer_initialized_ = true; + write_index_ = 0; + slot_size_ = slot_size; + buffer_size_ = slot_size * n_slots_; + frame_data_buffer_ = new char[buffer_size_]; + buffer_used_slots_ = 0; + ring_buffer_initialized_ = true; #ifdef DEBUG_OUTPUT using namespace date;