diff options
Diffstat (limited to 'src/network/connection.cpp')
-rw-r--r-- | src/network/connection.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/network/connection.cpp b/src/network/connection.cpp index 93dcf4ca2..7794ce10f 100644 --- a/src/network/connection.cpp +++ b/src/network/connection.cpp @@ -2817,16 +2817,6 @@ bool Connection::deletePeer(u16 peer_id, bool timeout) /* Interface */ -ConnectionEvent Connection::getEvent() -{ - if (m_event_queue.empty()) { - ConnectionEvent e; - e.type = CONNEVENT_NONE; - return e; - } - return m_event_queue.pop_frontNoEx(); -} - ConnectionEvent Connection::waitEvent(u32 timeout_ms) { try { |