From 1f71ac8cacc7aa2c4599d8f759b74b2de385a45b Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Sat, 23 Dec 2017 11:19:44 +1300 Subject: [PATCH] Make HoneyCursor::rewind() private --- xapian-core/backends/honey/honey_cursor.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/xapian-core/backends/honey/honey_cursor.h b/xapian-core/backends/honey/honey_cursor.h index e743e7b43..1e230e464 100644 --- a/xapian-core/backends/honey/honey_cursor.h +++ b/xapian-core/backends/honey/honey_cursor.h @@ -4,6 +4,13 @@ #include "honey_table.h" class HoneyCursor { + void rewind() { + fh.set_pos(0 * root); + last_key = std::string(); + is_at_end = is_after_end = false; + index = root; + } + public: BufferedFile fh; std::string current_key, current_tag; @@ -38,13 +45,6 @@ class HoneyCursor { { } - void rewind() { - fh.set_pos(0 * root); - last_key = std::string(); - is_at_end = is_after_end = false; - index = root; - } - bool after_end() const { return is_after_end; } bool next() { -- 2.11.4.GIT