mirror of https://github.com/davisking/dlib.git
global_optimization: add template argument list (#2973)
Fixes error (-Wmissing-template-arg-list-after-template-kw) from clang-19 compiler. Co-authored-by: Drew Risinger <drewrisinger@users.noreply.github.com>
This commit is contained in:
parent
6233808ce9
commit
0947215ddb
|
@ -58,7 +58,7 @@ namespace dlib
|
|||
}
|
||||
|
||||
template <typename T>
|
||||
static auto go(T&& f, const matrix<double,0,1>& a) -> decltype(call_function_and_expand_args<max_unpack-1>::template go(std::forward<T>(f),a))
|
||||
static auto go(T&& f, const matrix<double,0,1>& a) -> decltype(call_function_and_expand_args<max_unpack-1>::template go<T>(std::forward<T>(f),a))
|
||||
{
|
||||
return call_function_and_expand_args<max_unpack-1>::go(std::forward<T>(f),a);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue