mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Remove unused function from connection.{cpp,h}
This commit is contained in:
parent
25dfd1bbf5
commit
c4b5561b3f
2 changed files with 0 additions and 11 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue