summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_phrase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/pinyin_phrase.h')
-rw-r--r--src/storage/pinyin_phrase.h2
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];