Skip to content

Commit

Permalink
refactor(metadata_v2): no need to prefix with internal::
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Nov 20, 2024
1 parent feb3492 commit 9d65ae6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/reader/internal/metadata_v2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,7 @@ class metadata_ final : public metadata_v2::impl {
, global_(lgr, check_metadata_consistency(lgr, meta_,
options.check_consistency ||
force_consistency_check))
, root_(internal::dir_entry_view_impl::from_dir_entry_index_shared(
0, global_))
, root_(dir_entry_view_impl::from_dir_entry_index_shared(0, global_))
, LOG_PROXY_INIT(lgr)
, inode_offset_(inode_offset)
, symlink_inode_offset_(find_inode_offset(inode_rank::INO_LNK))
Expand Down Expand Up @@ -560,8 +559,8 @@ class metadata_ final : public metadata_v2::impl {
// TODO: move compatibility details to metadata_types
uint32_t index =
meta_.dir_entries() ? inode : meta_.entry_table_v2_2()[inode];
return inode_view{std::make_shared<internal::inode_view_impl>(
meta_.inodes()[index], inode, meta_)};
return inode_view{
std::make_shared<inode_view_impl>(meta_.inodes()[index], inode, meta_)};
}

inode_view_impl make_inode_view_impl(uint32_t inode) const {
Expand Down

0 comments on commit 9d65ae6

Please sign in to comment.