From e35fa9dd1179e10af227fdc63a55ecccffac032b Mon Sep 17 00:00:00 2001 From: _Redstone_c_ Date: Mon, 21 Nov 2022 22:04:17 +0800 Subject: [PATCH] fix(templates): fix DeclVal implementation --- Redcraft.Utility/Source/Public/Templates/Utility.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Redcraft.Utility/Source/Public/Templates/Utility.h b/Redcraft.Utility/Source/Public/Templates/Utility.h index ad427c2..40968bc 100644 --- a/Redcraft.Utility/Source/Public/Templates/Utility.h +++ b/Redcraft.Utility/Source/Public/Templates/Utility.h @@ -80,7 +80,7 @@ constexpr T Exchange(T& A, U&& B) } template -constexpr T&& DeclVal(); +constexpr TAddRValueReference DeclVal(); template requires (CObject) constexpr T* AddressOf(T& Object)