mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-23 20:10:44 +02:00
Initialize n_slots in ring buffer
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ struct FrameMetadata
|
||||
class RingBuffer
|
||||
{
|
||||
// Initialized in constructor.
|
||||
size_t n_slots;
|
||||
size_t n_slots = 0;
|
||||
std::vector<bool> ringbuffer_slots;
|
||||
|
||||
// Set in initialize().
|
||||
|
||||
Reference in New Issue
Block a user