forked from organicmaps/organicmaps
fixed small bug in ThreadedList.
This commit is contained in:
parent
d0b8be1501
commit
3841eefecc
1 changed files with 2 additions and 4 deletions
|
@ -44,9 +44,8 @@ public:
|
|||
|
||||
bool doSignal = m_list.empty();
|
||||
|
||||
m_isEmpty = doSignal;
|
||||
|
||||
m_list.push_back(t);
|
||||
m_isEmpty = false;
|
||||
|
||||
if (doSignal)
|
||||
m_Cond.Signal();
|
||||
|
@ -58,9 +57,8 @@ public:
|
|||
|
||||
bool doSignal = m_list.empty();
|
||||
|
||||
m_isEmpty = doSignal;
|
||||
|
||||
m_list.push_front(t);
|
||||
m_isEmpty = false;
|
||||
|
||||
if (doSignal)
|
||||
m_Cond.Signal();
|
||||
|
|
Loading…
Add table
Reference in a new issue