Skip to content

Commit

Permalink
[unreal]const ustruct *匹配多个特化的问题(C2752) fix #1917
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Nov 18, 2024
1 parent fc83813 commit 96825b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unreal/Puerts/Source/JsEnv/Public/UEDataBinding.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ struct IsUStructHelper<T, Void_t<decltype(&TScriptStructTraits<T>::Get)>> : std:
namespace v8_impl
{
template <typename T>
struct Converter<T*,
typename std::enable_if<!std::is_convertible<T*, const UObject*>::value && internal::IsUStructHelper<T>::value>::type>
struct Converter<T*, typename std::enable_if<!std::is_const<T>::value && !std::is_convertible<T*, const UObject*>::value &&
internal::IsUStructHelper<T>::value>::type>
{
static v8::Local<v8::Value> toScript(v8::Local<v8::Context> context, T* value)
{
Expand Down

0 comments on commit 96825b1

Please sign in to comment.