diff options
Diffstat (limited to 'gdb/amdgpu-tdep.h')
-rw-r--r-- | gdb/amdgpu-tdep.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/amdgpu-tdep.h b/gdb/amdgpu-tdep.h index 24081eb..703ee8e 100644 --- a/gdb/amdgpu-tdep.h +++ b/gdb/amdgpu-tdep.h @@ -28,8 +28,7 @@ /* Provide std::unordered_map::Hash for amd_dbgapi_register_id_t. */ struct register_id_hash { - size_t - operator() (const amd_dbgapi_register_id_t ®ister_id) const + size_t operator() (const amd_dbgapi_register_id_t ®ister_id) const { return std::hash<decltype (register_id.handle)> () (register_id.handle); } @@ -38,9 +37,8 @@ struct register_id_hash /* Provide std::unordered_map::Equal for amd_dbgapi_register_id_t. */ struct register_id_equal_to { - bool - operator() (const amd_dbgapi_register_id_t &lhs, - const amd_dbgapi_register_id_t &rhs) const + bool operator() (const amd_dbgapi_register_id_t &lhs, + const amd_dbgapi_register_id_t &rhs) const { return std::equal_to<decltype (lhs.handle)> () (lhs.handle, rhs.handle); } |