diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-05-23 11:02:55 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-23 11:02:55 -0700 |
commit | e8123c847f61c7458200b349615c47e9df17a0ed (patch) | |
tree | 133267c1a44bc96069d3dc78a2e199bff873572a /binutils/dwarf.c | |
parent | d9b6e047f60ce2129eff28ad1c6690949293366b (diff) | |
download | gdb-e8123c847f61c7458200b349615c47e9df17a0ed.zip gdb-e8123c847f61c7458200b349615c47e9df17a0ed.tar.gz gdb-e8123c847f61c7458200b349615c47e9df17a0ed.tar.bz2 |
Tweak the std::hash<> specialization for aarch64_features.
Move the specialization into an explicit std namespace to workaround a
bug in older compilers. GCC 6.4.1 at least fails to compile the previous
version with the following error:
gdb/arch/aarch64.h:48:13: error: specialization of 'template<class _Tp> struct std::hash' in different namespace [-fpermissive]
struct std::hash<aarch64_features>
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions