Skip to content
Snippets Groups Projects
Commit c4b5561b authored by Loïc Blot's avatar Loïc Blot
Browse files

Remove unused function from connection.{cpp,h}

parent 25dfd1bb
No related branches found
No related tags found
No related merge requests found
......@@ -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 @@ class Connection
~Connection();
/* Interface */
ConnectionEvent getEvent();
ConnectionEvent waitEvent(u32 timeout_ms);
void putCommand(ConnectionCommand &c);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment