Skip to content

Commit

Permalink
missing *
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBrumbler committed Dec 14, 2023
1 parent 8a6a034 commit fb7b2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ namespace custom_types {
if constexpr (std::is_pointer_v<Q>) {
*static_cast<void**>(retval) = std::forward<Q>(thing);
} else if constexpr (il2cpp_utils::il2cpp_reference_type_wrapper<Q>) {
static_cast<void**>(retval) = thing.convert();
*static_cast<void**>(retval) = thing.convert();
} else if constexpr (il2cpp_utils::il2cpp_value_type<Q>) {
std::memcpy(retval, thing.convert(), il2cpp_instance_sizeof(Q));
} else {
Expand Down

0 comments on commit fb7b2b7

Please sign in to comment.