From f6ce733312648a3dfce070cc571794e70a12881c Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Mon, 7 Jan 2013 18:02:20 -0500 Subject: fix compile error on older gccs --- word-aligner/fast_align.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'word-aligner') diff --git a/word-aligner/fast_align.cc b/word-aligner/fast_align.cc index 9d698074..9eb1dbc6 100644 --- a/word-aligner/fast_align.cc +++ b/word-aligner/fast_align.cc @@ -213,7 +213,7 @@ int main(int argc, char** argv) { if (favor_diagonal && optimize_tension && iter > 0) { for (int ii = 0; ii < 8; ++ii) { double mod_feat = 0; - unordered_map,unsigned>::iterator it = size_counts.begin(); + unordered_map,unsigned,boost::hash > >::iterator it = size_counts.begin(); for(; it != size_counts.end(); ++it) { const pair& p = it->first; for (short j = 1; j <= p.first; ++j) -- cgit v1.2.3