--- dlib/global_optimization/find_max_global.h.orig 2022-05-08 14:35:36 UTC +++ dlib/global_optimization/find_max_global.h @@ -58,7 +58,7 @@ namespace dlib } template - static auto go(T&& f, const matrix& a) -> decltype(call_function_and_expand_args::template go(std::forward(f),a)) + static auto go(T&& f, const matrix& a) -> decltype(call_function_and_expand_args::template go<>(std::forward(f),a)) { return call_function_and_expand_args::go(std::forward(f),a); }