From 3dbe6c39027ebd4755bbdc0864611d034444fe55 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 4 Nov 2021 12:37:20 +0100 Subject: [PATCH] meta: cleanup/review --- src/entt/meta/utility.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/entt/meta/utility.hpp b/src/entt/meta/utility.hpp index 3e0456976..03d00b476 100644 --- a/src/entt/meta/utility.hpp +++ b/src/entt/meta/utility.hpp @@ -284,16 +284,16 @@ template>) { if constexpr(std::is_void_v) { - (std::forward(maybe_clazz).*std::forward(candidate))(std::forward(other)...); + (std::forward(maybe_clazz).*std::forward(candidate))(std::forward(other)...); return meta_any{std::in_place_type}; } else { - return meta_dispatch((std::forward(maybe_clazz).*std::forward(candidate))(std::forward(other)...)); + return meta_dispatch((std::forward(maybe_clazz).*std::forward(candidate))(std::forward(other)...)); } } else if constexpr(std::is_void_v) { - std::forward(candidate)(std::forward(maybe_clazz), std::forward(other)...); + std::forward(candidate)(std::forward(maybe_clazz), std::forward(other)...); return meta_any{std::in_place_type}; } else { - return meta_dispatch(std::forward(candidate)(std::forward(maybe_clazz), std::forward(other)...)); + return meta_dispatch(std::forward(candidate)(std::forward(maybe_clazz), std::forward(other)...)); } }