Fixed Clang 17.0.2 not being able to build the code.
This commit is contained in:
parent
1b67032ee6
commit
bf09edcd63
|
|
@ -34,7 +34,7 @@ struct function_wrapper<T, TExtraArguments...>
|
|||
std::array<std::string, sizeof...(TSourceParams)> names{paramNames...};
|
||||
return [callableFn, names](const T& obj, const IDataSource& source, TExtraArguments... args)
|
||||
{
|
||||
return invoke(obj, callableFn, names, source, args...);
|
||||
return invoke<M, T, sizeof...(TSourceParams), TExtraArguments...>(obj, callableFn, names, source, args...);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
@ -52,7 +52,7 @@ struct function_wrapper<T, TExtraArguments...>
|
|||
std::array<std::string, sizeof...(TSourceParams)> names{paramNames...};
|
||||
return [callableFn, names](T& obj, const IDataSource& source, TExtraArguments... args)
|
||||
{
|
||||
return invoke(obj, callableFn, names, source, args...);
|
||||
return invoke<M, T, sizeof...(TSourceParams), TExtraArguments...>(obj, callableFn, names, source, args...);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue