Skip to content

Commit

Permalink
clang-tidy-unused
Browse files Browse the repository at this point in the history
  • Loading branch information
ban-nobuhiro committed Oct 4, 2024
1 parent c5be3e1 commit 06411d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/scan_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,12 @@ scan_border(border_node** const target, const std::string_view l_key,
tuple_list.emplace_back(std::make_tuple(
full_key, static_cast<ValueType*>(value::get_body(vp))));
} else if constexpr (NeedSize) {
(void)full_key; // cannot use [[maybe_unused]] for lambda capture
tuple_list.emplace_back(std::make_tuple(
static_cast<ValueType*>(value::get_body(vp)),
value::get_len(vp)));
} else {
(void)full_key; // cannot use [[maybe_unused]] for lambda capture
tuple_list.emplace_back(
static_cast<ValueType*>(value::get_body(vp)));
}
Expand Down

0 comments on commit 06411d3

Please sign in to comment.