fixed: const type was used in queue

This commit is contained in:
jerry
2014-04-17 16:49:19 +00:00
parent 8482504b65
commit 93ebd6a9cc
2 changed files with 2 additions and 2 deletions

View File

@@ -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();
}