fixed: assigned const to non const type

This commit is contained in:
jerry 2014-04-17 11:26:21 +00:00
parent 45c1cde698
commit 8482504b65
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ CEventQueue::loop()
LOG((CLOG_DEBUG "event queue is ready")); LOG((CLOG_DEBUG "event queue is ready"));
while (!m_pending.empty()) { while (!m_pending.empty()) {
LOG((CLOG_DEBUG "add pending events to buffer")); LOG((CLOG_DEBUG "add pending events to buffer"));
CEvent& event = m_pending.front(); const CEvent& event = m_pending.front();
addEventToBuffer(event); addEventToBuffer(event);
m_pending.pop(); m_pending.pop();
} }