Skip to content

Commit

Permalink
[issue1082] reduce use of auto.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDold committed Feb 9, 2024
1 parent 720f058 commit d77141f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search/utils/tuples.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ auto flatten_tuple(T &&t) {

template<class ... Ts>
auto flatten_tuple(std::tuple<Ts...> &&t) {
constexpr auto tuple_size = std::tuple_size<std::tuple<Ts...>>::value;
constexpr std::size_t tuple_size = std::tuple_size<std::tuple<Ts...>>::value;
return flatten_tuple_elements(std::move(t), std::make_index_sequence<tuple_size>());
}

Expand Down

0 comments on commit d77141f

Please sign in to comment.