mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 22:45:31 +00:00
Fix silly bug.
This commit is contained in:
parent
1ead913859
commit
d89a156523
1 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ CPOCSAGControl::~CPOCSAGControl()
|
|||
m_buffer.clear();
|
||||
|
||||
for (std::deque<POCSAGData*>::iterator it = m_data.begin(); it != m_data.end(); ++it)
|
||||
delete it;
|
||||
delete *it;
|
||||
m_data.clear();
|
||||
}
|
||||
|
||||
|
|
@ -475,7 +475,7 @@ void CPOCSAGControl::enable(bool enabled)
|
|||
m_output.clear();
|
||||
|
||||
for (std::deque<POCSAGData*>::iterator it = m_data.begin(); it != m_data.end(); ++it)
|
||||
delete it;
|
||||
delete *it;
|
||||
m_data.clear();
|
||||
|
||||
m_state = PS_NONE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue