mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-03 23:34:14 +02:00
Const on ring buffer
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ void RingBuffer::initialize(size_t slot_size)
|
||||
#endif
|
||||
}
|
||||
|
||||
void RingBuffer::write(FrameMetadata &frame_metadata, char* data)
|
||||
void RingBuffer::write(FrameMetadata &frame_metadata, const char* data)
|
||||
{
|
||||
// Initialize the buffer on the first write.
|
||||
if (!ring_buffer_initialized) {
|
||||
|
||||
Reference in New Issue
Block a user