mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-06-07 19:58:40 +02:00
Change RingBuffer to use function instead of direct flag call
This commit is contained in:
@@ -30,7 +30,7 @@ RingBuffer::~RingBuffer()
|
||||
|
||||
void RingBuffer::initialize(const size_t requested_slot_size)
|
||||
{
|
||||
if (initialized_.load(memory_order_relaxed)) {
|
||||
if (is_initialized()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user