Skip to content

Commit

Permalink
Minor bugfix in copy_from_named_tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzicheng1987 committed Mar 31, 2024
1 parent 12a294a commit 6f01c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rfl/internal/copy_from_named_tuple.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace internal {
template <class T, class NamedTupleType>
T copy_from_named_tuple(const NamedTupleType& _n) {
auto n = _n;
return move_from_named_tuple(std::move(n));
return move_from_named_tuple<T>(std::move(n));
}

} // namespace internal
Expand Down

0 comments on commit 6f01c3f

Please sign in to comment.