Skip to content

Commit c4b5561

Browse files
committedAug 15, 2015
Remove unused function from connection.{cpp,h}
1 parent 25dfd1b commit c4b5561

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed
 

‎src/network/connection.cpp

-10
Original file line numberDiff line numberDiff line change
@@ -2817,16 +2817,6 @@ bool Connection::deletePeer(u16 peer_id, bool timeout)
28172817

28182818
/* Interface */
28192819

2820-
ConnectionEvent Connection::getEvent()
2821-
{
2822-
if (m_event_queue.empty()) {
2823-
ConnectionEvent e;
2824-
e.type = CONNEVENT_NONE;
2825-
return e;
2826-
}
2827-
return m_event_queue.pop_frontNoEx();
2828-
}
2829-
28302820
ConnectionEvent Connection::waitEvent(u32 timeout_ms)
28312821
{
28322822
try {

‎src/network/connection.h

-1
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,6 @@ class Connection
10181018
~Connection();
10191019

10201020
/* Interface */
1021-
ConnectionEvent getEvent();
10221021
ConnectionEvent waitEvent(u32 timeout_ms);
10231022
void putCommand(ConnectionCommand &c);
10241023

0 commit comments

Comments
 (0)
Please sign in to comment.