diff options
Diffstat (limited to 'utils/hash.h')
-rwxr-xr-x | utils/hash.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/hash.h b/utils/hash.h index e9584dd5..17f150ff 100755 --- a/utils/hash.h +++ b/utils/hash.h @@ -8,12 +8,14 @@ #include "config.h" #ifdef HAVE_SPARSEHASH # include <google/dense_hash_map> +# include <google/dense_hash_set> # define HASH_MAP google::dense_hash_map # define HASH_SET google::dense_hash_set # define HASH_MAP_RESERVED(h,empty,deleted) do { h.set_empty_key(empty); h.set_deleted_key(deleted); } while(0) # define HASH_MAP_EMPTY(h,empty) do { h.set_empty_key(empty); } while(0) #else # include <tr1/unordered_map> +# include <tr1/unordered_set> # define HASH_MAP std::tr1::unordered_map # define HASH_SET std::tr1::unordered_set # define HASH_MAP_RESERVED(h,empty,deleted) |