Make it to compile on MSVC2010 0.3.dev-20111021
authorPerttu Ahola <celeron55@gmail.com>
Fri, 21 Oct 2011 15:37:43 +0000 (18:37 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Fri, 21 Oct 2011 15:37:43 +0000 (18:37 +0300)
src/connection.cpp

index d941f368a568d71ddf6f50a871bf4824a0ecd0dc..cdf8cd3b49cd87bc38daec980d0285514525ed76 100644 (file)
@@ -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;