Remove unused function from connection.{cpp,h}

This commit is contained in:
nerzhul 2015-08-14 14:00:36 +02:00 committed by Loic Blot
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);