Skip to content

Commit

Permalink
crimson/os/seastore: add missing final keywords
Browse files Browse the repository at this point in the history
Signed-off-by: Yingxin Cheng <[email protected]>
  • Loading branch information
cyx1231st committed Nov 28, 2024
1 parent 919d4d9 commit d2a9cb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/crimson/os/seastore/btree/fixed_kv_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -994,8 +994,7 @@ struct FixedKVInternalNode
* resolve_relative_addrs fixes up relative internal references
* based on base.
*/
void resolve_relative_addrs(paddr_t base)
{
void resolve_relative_addrs(paddr_t base) final {
LOG_PREFIX(FixedKVInternalNode::resolve_relative_addrs);
for (auto i: *this) {
if (i->get_val().is_relative()) {
Expand Down
2 changes: 1 addition & 1 deletion src/crimson/os/seastore/lba_manager/btree/lba_btree_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ struct LBALeafNode
}

// See LBAInternalNode, same concept
void resolve_relative_addrs(paddr_t base);
void resolve_relative_addrs(paddr_t base) final;
void node_resolve_vals(
internal_iterator_t from,
internal_iterator_t to) const final
Expand Down

0 comments on commit d2a9cb1

Please sign in to comment.