From b2451d5c0aca860a673be0f41c76ccea41d705c5 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Fri, 18 May 2018 11:40:36 +1200 Subject: [PATCH] [honey] Make FORCED_CLOSE constant private --- xapian-core/backends/honey/honey_table.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xapian-core/backends/honey/honey_table.h b/xapian-core/backends/honey/honey_table.h index 9a47c847a..83f519f76 100644 --- a/xapian-core/backends/honey/honey_table.h +++ b/xapian-core/backends/honey/honey_table.h @@ -68,8 +68,6 @@ const uint4 BLK_UNUSED = uint4(-1); class HoneyFreeListChecker; -const int FORCED_CLOSE = -2; - class BufferedFile { int fd = -1; mutable off_t pos = 0; @@ -77,6 +75,8 @@ class BufferedFile { mutable size_t buf_end = 0; mutable char buf[4096]; + const int FORCED_CLOSE = -2; + public: BufferedFile() { } -- 2.11.4.GIT