Get rid of hash_SMN and instead extend boost::hash.

This makes the TaggedCache code cleaner.
This commit is contained in:
JoelKatz
2012-06-04 06:01:11 -07:00
parent 98190a4284
commit 2206ff3be6
6 changed files with 29 additions and 32 deletions

View File

@@ -285,7 +285,7 @@ void NetworkOPs::checkState(const boost::system::error_code& result)
// Do we have sufficient validations for our last closed ledger? Or do sufficient nodes
// agree? And do we have no better ledger available?
// If so, we are either tracking or full.
boost::unordered_map<uint256, ValidationCount, hash_SMN> ledgers;
boost::unordered_map<uint256, ValidationCount> ledgers;
for (std::vector<Peer::pointer>::iterator it = peerList.begin(), end = peerList.end(); it != end; ++it)
{