Skip to content

Commit

Permalink
[unreal]属性获取GetArg改为API::GetArg,之前的遗漏
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Oct 18, 2023
1 parent f166b36 commit 5b9aa7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unreal/Puerts/Source/JsEnv/Public/StaticCall.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ struct PropertyWrapper<API, Ret Ins::*, member, IncPass,
return;
}

if (!API::template Converter<Ret>::accept(context, GetArg(info, 0)))
if (!API::template Converter<Ret>::accept(context, API::GetArg(info, 0)))
{
API::ThrowException(info, "invalid value for property");
return;
Expand Down

0 comments on commit 5b9aa7b

Please sign in to comment.