base: Update #includes for bitunion.hh.
<iostream> isn't actually used anywhere in bitunion.hh. The templated hash struct type is defined in <functional> and should be included explicitly. Change-Id: I8691ccb2f9e28a01610ae8bb4d9591b07cb7320b Reviewed-on: https://gem5-review.googlesource.com/7781 Reviewed-by: Matthias Jung <jungma@eit.uni-kl.de> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#ifndef __BASE_BITUNION_HH__
|
||||
#define __BASE_BITUNION_HH__
|
||||
|
||||
#include <iostream>
|
||||
#include <functional>
|
||||
#include <type_traits>
|
||||
|
||||
#include "base/bitfield.hh"
|
||||
@@ -403,9 +403,6 @@ using BitUnionBaseType = typename BitfieldBackend::BitUnionBaseType<T>::Type;
|
||||
//An STL style hash structure for hashing BitUnions based on their base type.
|
||||
namespace std
|
||||
{
|
||||
template <typename T>
|
||||
struct hash;
|
||||
|
||||
template <typename T>
|
||||
struct hash<BitUnionType<T> > : public hash<BitUnionBaseType<T> >
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user