From 6f1fe4739fb5875cec915cd14c920173e143bba3 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 10 Feb 2017 15:23:40 +0800 Subject: fixes class ForwardPhoneticConstraints --- tests/lookup/test_pinyin_lookup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lookup/test_pinyin_lookup.cpp') 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; -- cgit