diff options
author | Nathan Binkert <nate@binkert.org> | 2010-06-10 23:17:07 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-06-10 23:17:07 -0700 |
commit | 006818aeea6176c4500c5f7414e9f2a822c77062 (patch) | |
tree | 74adbd6cc14951943bd6eafc4aba2fb98be7a526 /src/mem/ruby/filters/H3BloomFilter.hh | |
parent | bc87fa30d72df7db6265be50b2c39dc218076f9f (diff) | |
download | gem5-006818aeea6176c4500c5f7414e9f2a822c77062.tar.xz |
ruby: get rid of Vector and use STL
add a couple of helper functions to base for deleteing all pointers in
a container and outputting containers to a stream
Diffstat (limited to 'src/mem/ruby/filters/H3BloomFilter.hh')
-rw-r--r-- | src/mem/ruby/filters/H3BloomFilter.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/filters/H3BloomFilter.hh b/src/mem/ruby/filters/H3BloomFilter.hh index babd86657..b040af42f 100644 --- a/src/mem/ruby/filters/H3BloomFilter.hh +++ b/src/mem/ruby/filters/H3BloomFilter.hh @@ -31,8 +31,8 @@ #include <iostream> #include <string> +#include <vector> -#include "mem/gems_common/Map.hh" #include "mem/ruby/common/Address.hh" #include "mem/ruby/common/Global.hh" #include "mem/ruby/filters/AbstractBloomFilter.hh" @@ -72,7 +72,7 @@ class H3BloomFilter : public AbstractBloomFilter int hash_H3(uint64 value, int index); - Vector<int> m_filter; + std::vector<int> m_filter; int m_filter_size; int m_num_hashes; int m_filter_size_bits; |