Skip to content

Commit

Permalink
updated types in ring buffer implementation avoid using uint32_t
Browse files Browse the repository at this point in the history
Signed-off-by: alberto <alberto.soragna@gmail.com>
  • Loading branch information
alsora committed Jul 16, 2019
1 parent e979052 commit 7655ceb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rclcpp/include/rclcpp/buffers/ring_buffer_implementation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ class RingBufferImplementation : public BufferImplementationBase<BufferT>
private:
std::vector<BufferT> ring_buffer_;

uint32_t write_;
uint32_t read_;
uint32_t _length;
uint32_t _buffer_size;
int write_;
int read_;
size_t _length;
size_t _buffer_size;

std::mutex mutex_;
};
Expand Down

0 comments on commit 7655ceb

Please sign in to comment.