fixed expensive-invariant-checks build

This commit is contained in:
Arvid Norberg
2009-05-25 17:23:03 +00:00
parent 3d8f09f12b
commit efb6ec5824
3 changed files with 10 additions and 4 deletions

View File

@@ -289,6 +289,12 @@ namespace libtorrent
{
return lhs < rhs->address();
}
bool operator()(
peer const* lhs, peer const* rhs) const
{
return lhs->address() < rhs->address();
}
};
typedef std::deque<peer*> peers_t;