From 0f40a4a680a9ef7723f4a22365c2f9823b0ae62d Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Thu, 23 Nov 2017 14:27:52 +1300 Subject: [PATCH] Make mset_cmp_table array const --- xapian-core/matcher/msetcmp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xapian-core/matcher/msetcmp.cc b/xapian-core/matcher/msetcmp.cc index 3a288a245..7eff5ff2e 100644 --- a/xapian-core/matcher/msetcmp.cc +++ b/xapian-core/matcher/msetcmp.cc @@ -101,7 +101,7 @@ msetcmp_by_relevance_then_value(const Result& a, const Result& b) return msetcmp_by_did(a, b); } -static mset_cmp mset_cmp_table[] = { +static const mset_cmp mset_cmp_table[] = { // Xapian::Enquire::Internal::REL msetcmp_by_relevance, 0, -- 2.11.4.GIT