mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 13:15:33 +08:00
fixed: const type was used in queue
This commit is contained in:
@@ -112,7 +112,7 @@ CEventQueue::loop()
|
||||
LOG((CLOG_DEBUG "event queue is ready"));
|
||||
while (!m_pending.empty()) {
|
||||
LOG((CLOG_DEBUG "add pending events to buffer"));
|
||||
const CEvent& event = m_pending.front();
|
||||
CEvent& event = m_pending.front();
|
||||
addEventToBuffer(event);
|
||||
m_pending.pop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user