mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-14 21:33:54 +01:00
Change RingBuffer to use function instead of direct flag call
This commit is contained in:
1 parent
f7ba7916b5
commit
5d1811b650
1 file changed
+1
-1
@@ -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