Add missing template arguments for std::forward (#819)
This commit is contained in:
parent
eda4cf4b24
commit
b8dec03cb5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue