diff options
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); |