From 391670adb7f141366d48f2458c688acffacdfef7 Mon Sep 17 00:00:00 2001 From: _Redstone_c_ Date: Tue, 15 Nov 2022 21:02:29 +0800 Subject: [PATCH] feat(templates): remove AsConst for array --- Redcraft.Utility/Source/Public/Templates/Utility.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Redcraft.Utility/Source/Public/Templates/Utility.h b/Redcraft.Utility/Source/Public/Templates/Utility.h index 03263b8..6586333 100644 --- a/Redcraft.Utility/Source/Public/Templates/Utility.h +++ b/Redcraft.Utility/Source/Public/Templates/Utility.h @@ -18,12 +18,6 @@ constexpr const T& AsConst(T& Ref) template void AsConst(const T&& Ref) = delete; -template -constexpr const T(&AsConst(T(&Array)[N]))[N] -{ - return Array; -} - template constexpr TRemoveReference&& MoveTemp(T&& Obj) {