From 67a5eab44f9358a771d792711a9fb4a2d5b6ab59 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 10 May 2021 11:11:56 +0200 Subject: [PATCH] updated type_info.hpp --- src/uvw/type_info.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/uvw/type_info.hpp b/src/uvw/type_info.hpp index b8a0b5ce..3f2553f8 100644 --- a/src/uvw/type_info.hpp +++ b/src/uvw/type_info.hpp @@ -62,11 +62,9 @@ template template [[nodiscard]] static constexpr std::uint32_t type() noexcept { #if defined __clang__ || defined __GNUC__ - constexpr auto value = internal::fnv1a(__PRETTY_FUNCTION__); - return value; + return internal::fnv1a(__PRETTY_FUNCTION__); #elif defined _MSC_VER - constexpr auto value = internal::fnv1a(__FUNCSIG__); - return value; + return internal::fnv1a(__FUNCSIG__); #else return internal::fake(); #endif