This commit is contained in:
Elias Bachaalany
2025-01-23 08:43:44 -08:00
parent 5703a46e30
commit 194a0de01e

View File

@@ -39,12 +39,10 @@ namespace utils
{
return func(std::forward<Args>(args)...);
}
else
if constexpr (!std::is_void_v<Ret>)
{
if constexpr (!std::is_void_v<Ret>)
{
return Ret();
}
return Ret();
}
}