From 8482504b65869014dfc781fc41b13735f9b882c8 Mon Sep 17 00:00:00 2001 From: jerry Date: Thu, 17 Apr 2014 11:26:21 +0000 Subject: [PATCH] fixed: assigned const to non const type --- src/lib/base/EventQueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/base/EventQueue.cpp b/src/lib/base/EventQueue.cpp index b12c0736..8327a4af 100644 --- a/src/lib/base/EventQueue.cpp +++ b/src/lib/base/EventQueue.cpp @@ -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")); - CEvent& event = m_pending.front(); + const CEvent& event = m_pending.front(); addEventToBuffer(event); m_pending.pop(); }