From: Perttu Ahola Date: Fri, 21 Oct 2011 15:37:43 +0000 (+0300) Subject: Make it to compile on MSVC2010 X-Git-Tag: 0.3.dev-20111021 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c349708eab121c60a0872b38160599c3ab9568cf;p=oweals%2Fminetest.git Make it to compile on MSVC2010 --- diff --git a/src/connection.cpp b/src/connection.cpp index d941f368a..cdf8cd3b4 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -1527,7 +1527,7 @@ ConnectionEvent Connection::waitEvent(u32 timeout_ms) { try{ return m_event_queue.pop_front(timeout_ms); - } catch(ItemNotFoundException &e){ + } catch(ItemNotFoundException &ex){ ConnectionEvent e; e.type = CONNEVENT_NONE; return e;