summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_phrase2.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-01 15:28:10 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-01 15:28:10 +0800
commit024dc9396afe9041af46b7ab8d91c68752054679 (patch)
treec2a0750f9b9590777769fae2df0ad287fe698f05 /src/storage/pinyin_phrase2.h
parente1c4b6b0ee7455458a9de25a7195eea059dc5ca7 (diff)
downloadlibpinyin-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.h2
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];