From 665e4b2c514850b395d93951081a0b0c35cda94e Mon Sep 17 00:00:00 2001 From: getnamo Date: Wed, 11 Sep 2019 23:31:29 -0700 Subject: [PATCH] add 4.23 compile rules --- SocketIOClient.uplugin | 2 +- Source/CoreUtility/Private/CoreUtilityBPLibrary.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/SocketIOClient.uplugin b/SocketIOClient.uplugin index 16e3e461..6edb6b13 100644 --- a/SocketIOClient.uplugin +++ b/SocketIOClient.uplugin @@ -1,7 +1,7 @@ { "FileVersion": 3, "Version": 1, - "VersionName": "1.0.25", + "VersionName": "1.0.26", "EngineVersion" : "4.22.0", "FriendlyName": "Socket.IO Client", "Description": "Real-time networking library Socket.IO Client usable from blueprints and c++.", diff --git a/Source/CoreUtility/Private/CoreUtilityBPLibrary.cpp b/Source/CoreUtility/Private/CoreUtilityBPLibrary.cpp index d173e0fa..02362278 100644 --- a/Source/CoreUtility/Private/CoreUtilityBPLibrary.cpp +++ b/Source/CoreUtility/Private/CoreUtilityBPLibrary.cpp @@ -241,7 +241,11 @@ void UCoreUtilityBPLibrary::SetSoundWaveFromWavBytes(USoundWaveProcedural* InSou TFuture UCoreUtilityBPLibrary::Conv_BytesToTexture_Async(const TArray& InBytes) { //Running this on a background thread +#if ENGINE_MINOR_VERSION < 23 return Async(EAsyncExecution::Thread,[InBytes] +#else + return Async(EAsyncExecution::Thread, [InBytes] +#endif { //Create wrapper pointer we can share easily across threads struct FDataHolder