Skip to content

Commit

Permalink
Fix no arg type getting
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBrumbler committed Jan 23, 2024
1 parent df4de97 commit b09416f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cordl_internals/unity-utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ struct BS_HOOKS_HIDDEN ::il2cpp_utils::il2cpp_type_check::need_box<UnityW<T>> {

template <class T>
struct ::il2cpp_utils::il2cpp_type_check::il2cpp_no_arg_type<UnityW<T>> {
static inline Il2CppClass *get() {
static inline const Il2CppType* get() {
// don't double cache here, just inline
return ::il2cpp_utils::il2cpp_type_check::il2cpp_no_arg_type<T *>::get();
}
Expand All @@ -117,4 +117,4 @@ struct ::il2cpp_utils::il2cpp_type_check::il2cpp_no_arg_class<UnityW<T>> {
// don't double cache here, just inline
return ::il2cpp_utils::il2cpp_type_check::il2cpp_no_arg_class<T *>::get();
}
};
};

0 comments on commit b09416f

Please sign in to comment.