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 | a6391168470046d7556adfe545c2103d3b6ad8d9 (patch) | |
tree | 94ea729e68b48dcbad93ad027fa7f0a51bbeed3c | |
parent | 2f7059fd18f60d2c40ab1a098fef2322f239a60d (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; /** |