mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Remove unused function from connection.{cpp,h}
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user