From 926e0467cfaa946806dbc92d68a14558b8749974 Mon Sep 17 00:00:00 2001 From: Eladash Date: Sun, 12 Apr 2020 08:11:58 +0300 Subject: [PATCH] Another ::as_rvalue fixup --- Utilities/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/types.h b/Utilities/types.h index e98bc7eec8..36ccc607a9 100644 --- a/Utilities/types.h +++ b/Utilities/types.h @@ -168,7 +168,7 @@ template using get_sint_t = typename get_int_impl::stype; template -std::remove_reference_t as_rvalue(T&& obj) +std::remove_cvref_t as_rvalue(T&& obj) { return std::forward(obj); }