1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35:45 +02:00

btrfs-tree: fix whitespace and const

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2021-12-25 13:34:25 -05:00
parent d5de012a17
commit ded5bf0148

View File

@ -131,7 +131,6 @@ namespace crucible {
} }
uint64_t uint64_t
BtrfsTreeItem::inode_size() const BtrfsTreeItem::inode_size() const
{ {
THROW_CHECK1(invalid_argument, btrfs_search_type_ntoa(m_type), m_type == BTRFS_INODE_ITEM_KEY); THROW_CHECK1(invalid_argument, btrfs_search_type_ntoa(m_type), m_type == BTRFS_INODE_ITEM_KEY);
@ -433,7 +432,7 @@ namespace crucible {
do { do {
assert(sk.max_offset == s_max_logical); assert(sk.max_offset == s_max_logical);
sk.do_ioctl(fd()); sk.do_ioctl(fd());
for (auto &i : sk.m_result) { for (const auto &i : sk.m_result) {
if (hdr_match(i)) { if (hdr_match(i)) {
return i; return i;
} }