made nodeKilled signatures match

This commit is contained in:
wangyix 2014-06-11 11:57:54 -07:00
parent 760627003f
commit decd6109fb
2 changed files with 2 additions and 2 deletions

View file

@ -50,6 +50,6 @@ bool ReceivedPacketProcessor::process() {
return isStillRunning(); // keep running till they terminate us return isStillRunning(); // keep running till they terminate us
} }
void ReceivedPacketProcessor::nodeKilled(const SharedNodePointer& node) { void ReceivedPacketProcessor::nodeKilled(SharedNodePointer node) {
int numRemoved = _nodePacketCounts.remove(node->getUUID()); int numRemoved = _nodePacketCounts.remove(node->getUUID());
} }

View file

@ -42,7 +42,7 @@ public:
int packetsToProcessCount() const { return _packets.size(); } int packetsToProcessCount() const { return _packets.size(); }
public slots: public slots:
void nodeKilled(const SharedNodePointer& node); void nodeKilled(SharedNodePointer node);
protected: protected:
/// Callback for processing of recieved packets. Implement this to process the incoming packets. /// Callback for processing of recieved packets. Implement this to process the incoming packets.