summaryrefslogtreecommitdiffstats
path: root/src/lookup/phonetic_lookup.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-02-04 15:16:26 +0800
committerPeng Wu <alexepico@gmail.com>2017-02-04 15:16:26 +0800
commit1e698604f33ece6cbd3ee436aa6b9607003f3150 (patch)
tree3c9399f687f990f5b4317155b1f27b85d4890759 /src/lookup/phonetic_lookup.cpp
parent58e14c36cdabbd941a2aa9e6d21c76238d08d178 (diff)
downloadlibpinyin-1e698604f33ece6cbd3ee436aa6b9607003f3150.tar.gz
libpinyin-1e698604f33ece6cbd3ee436aa6b9607003f3150.tar.xz
libpinyin-1e698604f33ece6cbd3ee436aa6b9607003f3150.zip
rename MatchResults to MatchResult
Diffstat (limited to 'src/lookup/phonetic_lookup.cpp')
-rw-r--r--src/lookup/phonetic_lookup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lookup/phonetic_lookup.cpp b/src/lookup/phonetic_lookup.cpp
index 5c3a6ce..417ee9f 100644
--- a/src/lookup/phonetic_lookup.cpp
+++ b/src/lookup/phonetic_lookup.cpp
@@ -172,8 +172,8 @@ bool ForwardPhoneticConstraints::validate_constraint(PhoneticKeyMatrix * matrix)
}
-bool ForwardPhoneticConstraints::diff_result(MatchResults best,
- MatchResults other){
+bool ForwardPhoneticConstraints::diff_result(MatchResult best,
+ MatchResult other){
bool changed = false;
assert(best->len == other->len);