From f0d61ed55993e85f31a5f77cb1c11c16f68310f9 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Sat, 17 Sep 2016 08:41:26 +1200 Subject: [PATCH] Revert part of backported patch which breaks ABI --- xapian-core/include/xapian/weight.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xapian-core/include/xapian/weight.h b/xapian-core/include/xapian/weight.h index 9a1b2652d..710623924 100644 --- a/xapian-core/include/xapian/weight.h +++ b/xapian-core/include/xapian/weight.h @@ -1074,6 +1074,9 @@ class XAPIAN_VISIBILITY_DEFAULT BB2Weight : public Weight { * Proceedings of the 16th Text REtrieval Conference (TREC-2007), 2008. */ class XAPIAN_VISIBILITY_DEFAULT DLHWeight : public Weight { + /// Now unused but left in place in 1.4.x for ABI compatibility. + double lower_bound; + /// The upper bound on the weight. double upper_bound; @@ -1289,6 +1292,9 @@ class XAPIAN_VISIBILITY_DEFAULT DPHWeight : public Weight { /// The upper bound on the weight. double upper_bound; + /// Now unused but left in place in 1.4.x for ABI compatibility. + double lower_bound; + /// The constant value used in get_sumpart() . double log_constant; double wqf_product_factor; -- 2.11.4.GIT