Skip to content

Commit

Permalink
Remove unused function from connection.{cpp,h}
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Aug 15, 2015
1 parent 25dfd1b commit c4b5561
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions src/network/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion src/network/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,6 @@ class Connection
~Connection();

/* Interface */
ConnectionEvent getEvent();
ConnectionEvent waitEvent(u32 timeout_ms);
void putCommand(ConnectionCommand &c);

Expand Down

0 comments on commit c4b5561

Please sign in to comment.