forked from Mirrorlandia_minetest/minetest
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 */
|
/* 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)
|
ConnectionEvent Connection::waitEvent(u32 timeout_ms)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
@ -1018,7 +1018,6 @@ public:
|
|||||||
~Connection();
|
~Connection();
|
||||||
|
|
||||||
/* Interface */
|
/* Interface */
|
||||||
ConnectionEvent getEvent();
|
|
||||||
ConnectionEvent waitEvent(u32 timeout_ms);
|
ConnectionEvent waitEvent(u32 timeout_ms);
|
||||||
void putCommand(ConnectionCommand &c);
|
void putCommand(ConnectionCommand &c);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user