]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/os/seastore/lba_manager: mark iterator(depth_t) private
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 30 Aug 2021 07:31:11 +0000 (15:31 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 30 Aug 2021 08:06:25 +0000 (16:06 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/lba_manager/btree/lba_btree.h

index 1052d88a2082b1c8db3f4e920e276fa922f34bf4..94e6c736b9b9f025bcd001fa8e01bc549680650d 100644 (file)
@@ -34,8 +34,6 @@ public:
     iterator &operator=(const iterator &) = default;
     iterator &operator=(iterator &&) = default;
 
-    iterator(depth_t depth) : internal(depth - 1) {}
-
     iterator_fut next(
       op_context_t c,
       mapped_space_visitor_t *visit=nullptr) const;
@@ -105,6 +103,7 @@ public:
 
   private:
     iterator() = default;
+    iterator(depth_t depth) : internal(depth - 1) {}
 
     friend class LBABtree;
     static constexpr uint16_t INVALID = std::numeric_limits<uint16_t>::max();