mirror of
https://github.com/minetest/minetest.git
synced 2024-12-24 15:12:23 +01:00
Remove unused function from connection.{cpp,h}
This commit is contained in:
parent
25dfd1bbf5
commit
c4b5561b3f
@ -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 {
|
||||
|
@ -1018,7 +1018,6 @@ public:
|
||||
~Connection();
|
||||
|
||||
/* Interface */
|
||||
ConnectionEvent getEvent();
|
||||
ConnectionEvent waitEvent(u32 timeout_ms);
|
||||
void putCommand(ConnectionCommand &c);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user