mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-22 09:09:18 +01:00
Add missing template arguments for std::forward (#819)
This commit is contained in:
parent
eda4cf4b24
commit
b8dec03cb5
@ -36,7 +36,7 @@ uint32 PPCCoreCallback(MPTR function, PPCCoreCallbackData_t& data, T currentArg,
|
||||
else if constexpr(std::is_enum_v<T>)
|
||||
{
|
||||
using TEnum = typename std::underlying_type<T>::type;
|
||||
return PPCCoreCallback<TEnum>(function, data, (TEnum)currentArg, std::forward(args)...);
|
||||
return PPCCoreCallback<TEnum>(function, data, (TEnum)currentArg, std::forward<TArgs>(args)...);
|
||||
}
|
||||
else if constexpr (std::is_floating_point_v<T>)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user