table: Remove operator== for Exclude, which is now a part of the library

Change-Id: I7b6d80cff6200e2c7d7d8529d2736bc275f1b6e7
This commit is contained in:
Alexander Afanasyev committed 2014-09-22 07:38:03 -07:00
1 parent e93d6a3401
commit 60d06387da
1 file changed
-9
-9
View File
@@ -43,15 +43,6 @@ predicate_NameTreeEntry_hasPitEntry(const name_tree::Entry& entry)
return entry.hasPitEntries();
}
static inline bool
operator==(const Exclude& a, const Exclude& b)
{
const Block& aBlock = a.wireEncode();
const Block& bBlock = b.wireEncode();
return aBlock.size() == bBlock.size() &&
0 == memcmp(aBlock.wire(), bBlock.wire(), aBlock.size());
}
static inline bool
predicate_PitEntry_similar_Interest(const shared_ptr<pit::Entry>& entry,
const Interest& interest)