diff options
author | Peng Wu <alexepico@gmail.com> | 2017-02-09 16:36:59 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2017-02-09 16:36:59 +0800 |
commit | 89e2f1ef616670cc51a535a80b638479e94e09eb (patch) | |
tree | 12cb9ac69a7630dfcedf7a9a41fe0ca72fd60f94 /src/storage | |
parent | 2c0463835fd1bdd07530825937677db68464727c (diff) | |
download | libpinyin-89e2f1ef616670cc51a535a80b638479e94e09eb.tar.gz libpinyin-89e2f1ef616670cc51a535a80b638479e94e09eb.tar.xz libpinyin-89e2f1ef616670cc51a535a80b638479e94e09eb.zip |
fixes compile
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/phonetic_key_matrix.cpp | 4 | ||||
-rw-r--r-- | src/storage/phonetic_key_matrix.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/phonetic_key_matrix.cpp b/src/storage/phonetic_key_matrix.cpp index c6f07f6..058c2e4 100644 --- a/src/storage/phonetic_key_matrix.cpp +++ b/src/storage/phonetic_key_matrix.cpp @@ -506,7 +506,7 @@ gfloat compute_pronunciation_possibility(const PhoneticKeyMatrix * matrix, (matrix, start, end, cached_keys, item); } -bool increase_pronunciation_possibility_recur(PhoneticKeyMatrix * matrix, +bool increase_pronunciation_possibility_recur(const PhoneticKeyMatrix * matrix, size_t start, size_t end, GArray * cached_keys, PhraseItem & item, gint32 delta) { @@ -560,7 +560,7 @@ bool increase_pronunciation_possibility_recur(PhoneticKeyMatrix * matrix, return result; } -bool increase_pronunciation_possibility(PhoneticKeyMatrix * matrix, +bool increase_pronunciation_possibility(const PhoneticKeyMatrix * matrix, size_t start, size_t end, GArray * cached_keys, PhraseItem & item, gint32 delta) { diff --git a/src/storage/phonetic_key_matrix.h b/src/storage/phonetic_key_matrix.h index 968b969..ca7aa84 100644 --- a/src/storage/phonetic_key_matrix.h +++ b/src/storage/phonetic_key_matrix.h @@ -217,7 +217,7 @@ gfloat compute_pronunciation_possibility(const PhoneticKeyMatrix * matrix, GArray * cached_keys, PhraseItem & item); -bool increase_pronunciation_possibility(PhoneticKeyMatrix * matrix, +bool increase_pronunciation_possibility(const PhoneticKeyMatrix * matrix, size_t start, size_t end, GArray * cached_keys, PhraseItem & item, gint32 delta); |