summaryrefslogtreecommitdiff
path: root/utils/maxent.cpp
diff options
context:
space:
mode:
authorWu, Ke <wuke@cs.umd.edu>2014-10-10 10:33:23 -0400
committerWu, Ke <wuke@cs.umd.edu>2014-10-10 10:33:23 -0400
commitc0097e3b1ff60250e118770506b861c8b9437b08 (patch)
tree908279de8293e0413e27c62d230bd0c4d2e95de6 /utils/maxent.cpp
parent83a7a1e075e4bac7501fb8aaba11a5c8ecde9707 (diff)
Replace deprecated hash_map with unordred_map
Diffstat (limited to 'utils/maxent.cpp')
-rw-r--r--utils/maxent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/maxent.cpp b/utils/maxent.cpp
index 9115f6f2..0f49ee9d 100644
--- a/utils/maxent.cpp
+++ b/utils/maxent.cpp
@@ -142,7 +142,7 @@ int ME_Model::make_feature_bag(const int cutoff) {
// count the occurrences of features
#ifdef USE_HASH_MAP
- typedef __gnu_cxx::hash_map<unsigned int, int> map_type;
+ typedef std::unordered_map<unsigned int, int> map_type;
#else
typedef std::map<unsigned int, int> map_type;
#endif