From 5265c5709eb19f49c047345b0046d8c5f09600ad Mon Sep 17 00:00:00 2001 From: anand76 Date: Fri, 19 Apr 2019 11:07:22 -0700 Subject: [PATCH] Remove a couple of non-public includes from public header file (#5219) Summary: Cleanup a couple of stray includes left by #5011. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5219 Differential Revision: D15007244 Pulled By: anand1976 fbshipit-source-id: 15ca1d4f977b5b60e99df3bfb8fc3db217d19bdd --- include/rocksdb/filter_policy.h | 3 --- table/filter_block.h | 8 ++++++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/include/rocksdb/filter_policy.h b/include/rocksdb/filter_policy.h index d2da38b51..950fbe616 100644 --- a/include/rocksdb/filter_policy.h +++ b/include/rocksdb/filter_policy.h @@ -24,8 +24,6 @@ #include #include #include -#include "db/dbformat.h" -#include "table/multiget_context.h" namespace rocksdb { @@ -66,7 +64,6 @@ class FilterBitsBuilder { // A class that checks if a key can be in filter // It should be initialized by Slice generated by BitsBuilder -using MultiGetRange = MultiGetContext::Range; class FilterBitsReader { public: virtual ~FilterBitsReader() {} diff --git a/table/filter_block.h b/table/filter_block.h index fe1678908..8abb88e5f 100644 --- a/table/filter_block.h +++ b/table/filter_block.h @@ -18,23 +18,27 @@ #pragma once -#include #include #include +#include #include #include +#include "db/dbformat.h" +#include "format.h" #include "rocksdb/options.h" #include "rocksdb/slice.h" #include "rocksdb/slice_transform.h" #include "rocksdb/table.h" +#include "table/multiget_context.h" #include "util/hash.h" -#include "format.h" namespace rocksdb { const uint64_t kNotValid = ULLONG_MAX; class FilterPolicy; +using MultiGetRange = MultiGetContext::Range; + // A FilterBlockBuilder is used to construct all of the filters for a // particular Table. It generates a single string which is stored as // a special block in the Table.