mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 11:13:57 +00:00
minor
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user