update simple_ring_buffer.cpp