From f5f463b411c3afb1590efe90a8b8392d7c5e0daa Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 26 Jan 2021 16:42:26 +0100 Subject: [PATCH] any: relaxed checks/constraints --- src/entt/core/any.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entt/core/any.hpp b/src/entt/core/any.hpp index cd0f4d435..7f9b6cfef 100644 --- a/src/entt/core/any.hpp +++ b/src/entt/core/any.hpp @@ -18,7 +18,7 @@ namespace entt { class any { enum class operation { COPY, MOVE, DTOR, COMP, ADDR, CADDR, REF, CREF, TYPE }; - using storage_type = std::aligned_storage_t; + using storage_type = std::aligned_storage_t; using vtable_type = const void *(const operation, const any &, const void *); template @@ -188,9 +188,9 @@ public: * @tparam Type Type of object to use to initialize the wrapper. * @param value An instance of an object to use to initialize the wrapper. */ - template>, any>>> + template, any>>> any(Type &&value) - : any{std::in_place_type>>, std::forward(value)} + : any{std::in_place_type>, std::forward(value)} {} /**