Skip to content

Commit

Permalink
4191 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Oct 24, 2024
1 parent af581ca commit f34a01f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions unreal/Puerts/Source/JsEnv/Public/V8Backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@ struct API
ClassDef.SuperTypeId = Cdb.superTypeId_;
}

MSVC_PRAGMA(warning(push))
MSVC_PRAGMA(warning(disable : 4191))
ClassDef.Initialize = reinterpret_cast<pesapi_constructor>(Cdb.constructor_);
MSVC_PRAGMA(warning(pop))
ClassDef.Finalize = Finalize;

s_functions_ = std::move(Cdb.functions_);
Expand Down

0 comments on commit f34a01f

Please sign in to comment.