Adjust for Str_less_than removal
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/8be7674e Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/8be7674e Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/8be7674e Branch: refs/heads/master Commit: 8be7674e63250865c70e72c7db0141d710eead34 Parents: 61d4529 Author: Nick Wellnhofer <wellnho...@aevum.de> Authored: Thu Oct 22 16:39:44 2015 +0200 Committer: Nick Wellnhofer <wellnho...@aevum.de> Committed: Thu Oct 22 16:47:06 2015 +0200 ---------------------------------------------------------------------- core/Lucy/Index/PolyLexicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/8be7674e/core/Lucy/Index/PolyLexicon.c ---------------------------------------------------------------------- diff --git a/core/Lucy/Index/PolyLexicon.c b/core/Lucy/Index/PolyLexicon.c index 42ebb0c..f0fb288 100644 --- a/core/Lucy/Index/PolyLexicon.c +++ b/core/Lucy/Index/PolyLexicon.c @@ -208,7 +208,7 @@ SegLexQ_Less_Than_IMP(SegLexQueue *self, Obj *a, Obj *b) { Obj *const term_a = SegLex_Get_Term(lex_a); Obj *const term_b = SegLex_Get_Term(lex_b); UNUSED_VAR(self); - return Str_less_than(&term_a, &term_b); + return Obj_Compare_To(term_a, term_b) < 0; }