diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-29 19:27:57 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2011-11-29 19:27:57 +0400 |
commit | 4d189eb14ddb92fec870026df4173a15d72ea800 (patch) | |
tree | 94ea729e68b48dcbad93ad027fa7f0a51bbeed3c | |
parent | 1dd3200e4529074d35f5794ee58f97b020f66647 (diff) |
Fix a typedef for comparing N-grams.
Declared const_iterator was not *const* actually.
-rw-r--r-- | mert/BleuScorer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/BleuScorer.h b/mert/BleuScorer.h index 7e0e18b53..a10b09a7a 100644 --- a/mert/BleuScorer.h +++ b/mert/BleuScorer.h @@ -56,7 +56,7 @@ private: typedef map<vector<int>,int,CompareNgrams> counts_t; typedef map<vector<int>,int,CompareNgrams>::iterator counts_iterator; - typedef map<vector<int>,int,CompareNgrams>::iterator counts_const_iterator; + typedef map<vector<int>,int,CompareNgrams>::const_iterator counts_const_iterator; typedef ScopedVector<counts_t> refcounts_t; /** |