diff options
author | Peng Wu <alexepico@gmail.com> | 2010-08-26 15:41:42 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2010-08-26 15:41:42 +0800 |
commit | 2e9663da330866e655ba414bed0dfcd0de486864 (patch) | |
tree | 194b7b6540d61b322f3a5b8cccefd44ab9ae5159 /src/storage/pinyin_phrase.h | |
parent | b601fb3a3e0799d744f3eff61449d79ffbb6417d (diff) | |
download | libpinyin-2e9663da330866e655ba414bed0dfcd0de486864.tar.gz libpinyin-2e9663da330866e655ba414bed0dfcd0de486864.tar.xz libpinyin-2e9663da330866e655ba414bed0dfcd0de486864.zip |
add search to phrase large table.
Diffstat (limited to 'src/storage/pinyin_phrase.h')
-rw-r--r-- | src/storage/pinyin_phrase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/pinyin_phrase.h b/src/storage/pinyin_phrase.h index 9ce2c3f..1902f23 100644 --- a/src/storage/pinyin_phrase.h +++ b/src/storage/pinyin_phrase.h @@ -186,7 +186,7 @@ inline void compute_upper_value(const PinyinCustomSettings &custom, } } -template<int phrase_length> +template<size_t phrase_length> struct PinyinIndexItem{ phrase_token_t m_token; PinyinKey m_keys[phrase_length]; |