Add missing template arguments for std::forward (#819)

This commit is contained in:
Alexander 2023-05-15 19:31:53 +03:00 committed by GitHub
parent eda4cf4b24
commit b8dec03cb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>)
{