mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-10-29 15:31:27 +01:00
Initialize n_slots in ring buffer
This commit is contained in:
1 parent
596dbd0468
commit
96bb6f651f
1 file changed
+1
-1
+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