From 38a25839543b46d697b7c6684307c8326319b1a2 Mon Sep 17 00:00:00 2001 From: Mamadou Babaei Date: Fri, 3 Mar 2023 15:13:17 +0100 Subject: [PATCH] minor fix: move temp a variable --- .../Private/SenseGlove/GameFramework/SGVirtualHand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/SenseGlove/Private/SenseGlove/GameFramework/SGVirtualHand.cpp b/Source/SenseGlove/Private/SenseGlove/GameFramework/SGVirtualHand.cpp index 8af3a0b2..fd0d9937 100644 --- a/Source/SenseGlove/Private/SenseGlove/GameFramework/SGVirtualHand.cpp +++ b/Source/SenseGlove/Private/SenseGlove/GameFramework/SGVirtualHand.cpp @@ -421,7 +421,7 @@ FString ASGVirtualHand::FImpl::GetDefaultMeshPath() const SkeletalMeshPath = GetDefaultLeftHandMeshPath(); } - return SkeletalMeshPath; + return MoveTemp(SkeletalMeshPath); } bool ASGVirtualHand::FImpl::IsUsingUserMesh() const