diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-01 15:28:10 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-01 15:28:10 +0800 |
commit | 024dc9396afe9041af46b7ab8d91c68752054679 (patch) | |
tree | c2a0750f9b9590777769fae2df0ad287fe698f05 /src/storage/pinyin_phrase2.h | |
parent | e1c4b6b0ee7455458a9de25a7195eea059dc5ca7 (diff) | |
download | libpinyin-024dc9396afe9041af46b7ab8d91c68752054679.tar.gz libpinyin-024dc9396afe9041af46b7ab8d91c68752054679.tar.xz libpinyin-024dc9396afe9041af46b7ab8d91c68752054679.zip |
write search method for chewing large table
Diffstat (limited to 'src/storage/pinyin_phrase2.h')
-rw-r--r-- | src/storage/pinyin_phrase2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/pinyin_phrase2.h b/src/storage/pinyin_phrase2.h index 074f545..16a5b68 100644 --- a/src/storage/pinyin_phrase2.h +++ b/src/storage/pinyin_phrase2.h @@ -218,7 +218,7 @@ inline void compute_upper_value2(pinyin_option_t options, } -template<size_t phrase_length> +template<int phrase_length> struct PinyinIndexItem2{ phrase_token_t m_token; ChewingKey m_keys[phrase_length]; |