diff options
Diffstat (limited to 'src/mem/ruby/filters/BlockBloomFilter.hh')
-rw-r--r-- | src/mem/ruby/filters/BlockBloomFilter.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mem/ruby/filters/BlockBloomFilter.hh b/src/mem/ruby/filters/BlockBloomFilter.hh index 14f064975..be31b025f 100644 --- a/src/mem/ruby/filters/BlockBloomFilter.hh +++ b/src/mem/ruby/filters/BlockBloomFilter.hh @@ -29,6 +29,9 @@ #ifndef __MEM_RUBY_FILTERS_BLOCKBLOOMFILTER_HH__ #define __MEM_RUBY_FILTERS_BLOCKBLOOMFILTER_HH__ +#include <iostream> +#include <string> + #include "mem/gems_common/Map.hh" #include "mem/ruby/common/Address.hh" #include "mem/ruby/common/Global.hh" @@ -37,7 +40,7 @@ class BlockBloomFilter : public AbstractBloomFilter { public: - BlockBloomFilter(string config); + BlockBloomFilter(std::string config); ~BlockBloomFilter(); void clear(); @@ -54,7 +57,7 @@ class BlockBloomFilter : public AbstractBloomFilter int readBit(const int index); void writeBit(const int index, const int value); - void print(ostream& out) const; + void print(std::ostream& out) const; private: int get_index(const Address& addr); |