From ded5bf014811c6f5909434d1b30f7ae74b965e1b Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Sat, 25 Dec 2021 13:34:25 -0500 Subject: [PATCH] btrfs-tree: fix whitespace and const Signed-off-by: Zygo Blaxell --- lib/btrfs-tree.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/btrfs-tree.cc b/lib/btrfs-tree.cc index 2b2a1ea..97bb522 100644 --- a/lib/btrfs-tree.cc +++ b/lib/btrfs-tree.cc @@ -131,7 +131,6 @@ namespace crucible { } uint64_t - BtrfsTreeItem::inode_size() const { THROW_CHECK1(invalid_argument, btrfs_search_type_ntoa(m_type), m_type == BTRFS_INODE_ITEM_KEY); @@ -433,7 +432,7 @@ namespace crucible { do { assert(sk.max_offset == s_max_logical); sk.do_ioctl(fd()); - for (auto &i : sk.m_result) { + for (const auto &i : sk.m_result) { if (hdr_match(i)) { return i; }