Change regcache list to be an hash map
[deliverable/binutils-gdb.git] / gdb / thread-map.h
index 2b41b7361ce62b741fd416069b1ec50bf8882346..44cccc16c4c5dc560c9e66919b8231cf26d1fc05 100644 (file)
 
 struct thread_info;
 
-struct hash_ptid
-{
-  size_t operator() (const ptid_t &ptid) const
-  {
-    std::hash<long> long_hash;
-    return long_hash(ptid.pid()) + long_hash(ptid.lwp()) + long_hash(ptid.tid());
-  }
-};
-
 using ptid_thread_map = std::unordered_map<ptid_t, thread_info *, hash_ptid>;
 
 struct all_thread_map_range_iterator
This page took 0.022398 seconds and 4 git commands to generate.