diff --git a/DataStructures/HashTable.h b/DataStructures/HashTable.h index e37993a1c..dc974f7ff 100644 --- a/DataStructures/HashTable.h +++ b/DataStructures/HashTable.h @@ -24,25 +24,13 @@ or see http://www.gnu.org/licenses/agpl.txt. #ifndef HASHTABLE_H_ #define HASHTABLE_H_ -#include - -#include -#include - -namespace __gnu_cxx -{ - template<> struct hash { - size_t operator()(const std::string& x) const { - return hash()(x.c_str()); - } - }; -} +#include template class HashTable { - typedef google::sparse_hash_map MyHashTable; + typedef boost::unordered_map MyHashTable; public: - typedef typename google::sparse_hash_map::const_iterator MyIterator; + typedef typename boost::unordered_map::const_iterator MyIterator; typedef MyIterator iterator; HashTable() { } HashTable(const unsigned size) {