mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-23 12:18:37 -05:00
minor fixes
This commit is contained in:
parent
9e32141a5f
commit
8dfb8ea3f1
@ -10,6 +10,7 @@
|
||||
#include <stddef.h>
|
||||
#include <condition_variable>
|
||||
#include <typeinfo>
|
||||
#include <iostream>
|
||||
|
||||
#define MIN_ITEM_NB (1)
|
||||
|
||||
@ -242,7 +243,7 @@ public:
|
||||
std::lock_guard < std::mutex > lock1(m_mutex);
|
||||
std::lock_guard < std::mutex > lock2(sq.m_mutex);
|
||||
|
||||
m_queue = sq.m_queue
|
||||
m_queue = sq.m_queue;
|
||||
m_max_num_items = sq.m_max_num_items;
|
||||
|
||||
if (!m_queue.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user