From f64e0edc628de00ae3bf08d0a8e7a1d53b2ec2e3 Mon Sep 17 00:00:00 2001 From: Sietze Riemersma <43845930+KungFuDonkey@users.noreply.github.com> Date: Mon, 6 Feb 2023 15:08:30 +0100 Subject: [PATCH 1/2] updated is_same according to deprecation warning --- Source/VaRest/Public/VaRestJsonObject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/VaRest/Public/VaRestJsonObject.h b/Source/VaRest/Public/VaRestJsonObject.h index f64c7f51..07c00455 100644 --- a/Source/VaRest/Public/VaRestJsonObject.h +++ b/Source/VaRest/Public/VaRestJsonObject.h @@ -165,11 +165,11 @@ class VAREST_API UVaRestJsonObject : public UObject for (auto& field : Fields) { // No need to support all int types as they're not supported by BP - if (TIsSame::Value || TIsSame::Value || TIsSame::Value || TIsSame::Value) + if (std::is_same_v || std::is_same_v|| std::is_same_v || std::is_same_v) { SetNumberField(field.Key, field.Value); } - else if (TIsSame::Value) + else if (std::is_same_v) { SetBoolField(field.Key, (bool)field.Value); } From 0db26031817b5ae5dbe47f63be749dd23ded76c0 Mon Sep 17 00:00:00 2001 From: Sietze Riemersma <43845930+KungFuDonkey@users.noreply.github.com> Date: Mon, 6 Feb 2023 15:25:24 +0100 Subject: [PATCH 2/2] updated uplugin file to 5.2.0 --- VaRest.uplugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VaRest.uplugin b/VaRest.uplugin index fed7a81b..9b0df62a 100644 --- a/VaRest.uplugin +++ b/VaRest.uplugin @@ -6,7 +6,7 @@ "VersionName" : "1.1-r32", "CreatedBy" : "Vladimir Alyamkin", "CreatedByURL" : "https://ufna.dev", - "EngineVersion" : "5.1.0", + "EngineVersion" : "5.2.0", "Description" : "Plugin that makes REST (JSON) server communication easy to use", "Category" : "Network", "DocsURL": "https://bit.ly/VaRest-Docs",