summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/pinyin_parser2.cpp')
-rw-r--r--src/storage/pinyin_parser2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index d6fd8a6..0d5977e 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -91,7 +91,7 @@ gint _ChewingKey::get_table_index() {
return index == -1 ? 0 : index;
}
-gchar * _ChewingKey::get_pinyin_string(PinyinScheme scheme) {
+gchar * _ChewingKey::get_pinyin_string(FullPinyinScheme scheme) {
assert(m_tone < CHEWING_NUMBER_OF_TONES);
gint index = get_table_index();
assert(index < (int) G_N_ELEMENTS(content_table));
@@ -424,7 +424,7 @@ int FullPinyinParser2::final_step(size_t step_len, ChewingKeyVector & keys,
return parsed_len;
}
-bool FullPinyinParser2::set_scheme(PinyinScheme scheme){
+bool FullPinyinParser2::set_scheme(FullPinyinScheme scheme){
switch(scheme){
case PINYIN_HANYU:
m_pinyin_index = hanyu_pinyin_index;