From d5b9ffda458c0e1b7ad52b42d7c8caf2b4a5c022 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 3 Feb 2018 22:25:14 -0800 Subject: 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 --- src/base/bitunion.hh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/base') 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 > { -- cgit v1.2.3