From: Gabe Black Date: Sun, 4 Feb 2018 06:25:14 +0000 (-0800) Subject: base: Update #includes for bitunion.hh. X-Git-Tag: v19.0.0.0~2328 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5b9ffda458c0e1b7ad52b42d7c8caf2b4a5c022;p=gem5.git base: Update #includes for bitunion.hh. isn't actually used anywhere in bitunion.hh. The templated hash struct type is defined in and should be included explicitly. Change-Id: I8691ccb2f9e28a01610ae8bb4d9591b07cb7320b Reviewed-on: https://gem5-review.googlesource.com/7781 Reviewed-by: Matthias Jung Maintainer: Gabe Black --- diff --git a/src/base/bitunion.hh b/src/base/bitunion.hh index 38d10dac3..569d65031 100644 --- a/src/base/bitunion.hh +++ b/src/base/bitunion.hh @@ -31,7 +31,7 @@ #ifndef __BASE_BITUNION_HH__ #define __BASE_BITUNION_HH__ -#include +#include #include #include "base/bitfield.hh" @@ -403,9 +403,6 @@ using BitUnionBaseType = typename BitfieldBackend::BitUnionBaseType::Type; //An STL style hash structure for hashing BitUnions based on their base type. namespace std { - template - struct hash; - template struct hash > : public hash > {