Skip to content

Commit

Permalink
Make code a bit easier to read.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfis committed Dec 23, 2024
1 parent aefed1c commit 2738e95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rice/detail/from_ruby.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ namespace Rice::detail
}
case RUBY_T_ARRAY:
{
return Array(value).pack<T>();
Array array(value);
return array.pack<T>();
break;
}
case RUBY_T_STRING:
Expand Down

0 comments on commit 2738e95

Please sign in to comment.