[Xapian-commits] 10732: branches/1.0/xapian-core/ branches/1.0/xapian-core/common/ branches/1.0/xapian-core/matcher/

olly xapian-commits at lists.xapian.org
Tue Jun 24 08:28:47 BST 2008


SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       10732
Date:           2008-06-24 08:28:47 +0100 (Tue, 24 Jun 2008)

Log message (9 lines):
Backport change from trunk:
common/postlist.h: Decree that PostList::check() must be passed a
docid which actually exists in the database (which is always true
currently and seems unlikely to be an onerous requirement).
matcher/valuegepostlist.cc,matcher/valuerangepostlist.cc: Take
advantage of this new precondition to simplify the code.
matcher/valuegepostlist.cc,matcher/valuerangepostlist.cc: Move the
corresponding header first as our header inclusion order guidelines
recommend.

Modified files:
U   branches/1.0/xapian-core/ChangeLog
U   branches/1.0/xapian-core/common/postlist.h
U   branches/1.0/xapian-core/matcher/valuegepostlist.cc
U   branches/1.0/xapian-core/matcher/valuerangepostlist.cc

Links:
http://xapian.org/C?10732
http://xapian.org/C?10732?branches/1.0/xapian-core/ChangeLog
http://xapian.org/C?10732?branches/1.0/xapian-core/common/postlist.h
http://xapian.org/C?10732?branches/1.0/xapian-core/matcher/valuegepostlist.cc
http://xapian.org/C?10732?branches/1.0/xapian-core/matcher/valuerangepostlist.cc



More information about the Xapian-commits mailing list