Fix build failure with GCC 4.8
authorTom Tromey <tromey@adacore.com>
Fri, 15 Sep 2023 16:13:24 +0000 (10:13 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 15 Sep 2023 16:36:15 +0000 (10:36 -0600)
commit0e0edacca5f34621f85e93a22ee31c6810b5941c
tree34b6d5d3221c3176dd19dfd347cf2e594ebd739c
parent5490b88bfb36d23799005ee5284292d48d91cbdc
Fix build failure with GCC 4.8

A user pointed out that the build failed with GCC 4.8.  The problem
was that the form used by the std::hash specialization of ptid_t was
not accepted.  This patch rewrites this code into a form that is
acceptable to the older compiler.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdbsupport/ptid.h