Update shared_buffer.hpp

fixes