Skip to content

Commit

Permalink
add local
Browse files Browse the repository at this point in the history
  • Loading branch information
baotiao committed Apr 10, 2015
1 parent ddea4dd commit 21e67a0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/pika_node.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#include "pika_node.h"

bool PikaNode::operator==(const PikaNode& rval)
{
if ((*(rval.host())) == this->host_ && rval.port() == this->port_) {
return true;
}
return false;
}

0 comments on commit 21e67a0

Please sign in to comment.