Skip to content

Commit

Permalink
[unreal]fix windows compile warning (#1487)
Browse files Browse the repository at this point in the history
* fix windows compile warning

* clang-format

---------

Co-authored-by: bodong <[email protected]>
  • Loading branch information
bodong1987 and bodong authored Aug 28, 2023
1 parent e2e7d24 commit b60c169
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unreal/Puerts/Source/JsEnv/Private/V8InspectorImpl.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Tencent is pleased to support the open source community by making Puerts available.
* Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
* Puerts is licensed under the BSD 3-Clause License, except for the third-party components listed in the file 'LICENSE' which may
Expand Down Expand Up @@ -111,6 +111,7 @@ void V8InspectorChannelImpl::SendMessage(v8_inspector::StringBuffer& MessageBuff
else
{
#if PLATFORM_WINDOWS
#pragma warning(disable : 4996)
std::wstring_convert<std::codecvt_utf8_utf16<uint16_t>, uint16_t> Conv;
const uint16_t* Start = MessageView.characters16();
#else
Expand Down

0 comments on commit b60c169

Please sign in to comment.