summaryrefslogtreecommitdiffstats
path: root/tests/lookup
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-02-10 15:23:40 +0800
committerPeng Wu <alexepico@gmail.com>2017-02-10 15:23:40 +0800
commit6f1fe4739fb5875cec915cd14c920173e143bba3 (patch)
tree35052666c42352341b8a4cd7fb43ef65a7a6b94c /tests/lookup
parent997085b873a2b1395a309bdebf52a3ca702087e5 (diff)
downloadlibpinyin-6f1fe4739fb5875cec915cd14c920173e143bba3.tar.gz
libpinyin-6f1fe4739fb5875cec915cd14c920173e143bba3.tar.xz
libpinyin-6f1fe4739fb5875cec915cd14c920173e143bba3.zip
fixes class ForwardPhoneticConstraints
Diffstat (limited to 'tests/lookup')
-rw-r--r--tests/lookup/test_pinyin_lookup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookup/test_pinyin_lookup.cpp b/tests/lookup/test_pinyin_lookup.cpp
index a8d6310..6178b85 100644
--- a/tests/lookup/test_pinyin_lookup.cpp
+++ b/tests/lookup/test_pinyin_lookup.cpp
@@ -67,7 +67,7 @@ int main( int argc, char * argv[]){
(FALSE, FALSE, sizeof(phrase_token_t));
g_array_append_val(prefixes, sentence_start);
- ForwardPhoneticConstraints constraints;
+ ForwardPhoneticConstraints constraints(&phrase_index);
NBestMatchResults results;
char* linebuf = NULL; size_t size = 0; ssize_t read;