remove UniqueIDHasher (#1957)

* remove UniqueIDHasher

* Format the change

* remove unused line

* Fix format

* fix lint error

* fix linting whitespace
This commit is contained in:
eric-jj
2018-04-30 06:31:23 -07:00
committed by Philipp Moritz
parent 47bc4c3009
commit 34bc6ce6ea
36 changed files with 116 additions and 138 deletions
+2 -3
View File
@@ -179,12 +179,11 @@ class ObjectManager {
ConnectionPool connection_pool_;
/// Timeout for failed pull requests.
std::unordered_map<ObjectID, std::shared_ptr<boost::asio::deadline_timer>,
UniqueIDHasher>
std::unordered_map<ObjectID, std::shared_ptr<boost::asio::deadline_timer>>
pull_requests_;
/// Cache of locally available objects.
std::unordered_map<ObjectID, ObjectInfoT, UniqueIDHasher> local_objects_;
std::unordered_map<ObjectID, ObjectInfoT> local_objects_;
/// Handle starting, running, and stopping asio io_service.
void StartIOService();