Small change

This commit is contained in:
Federico Cecchetto 2022-04-29 22:48:13 +02:00
parent b25119effc
commit 1a4904fc10

View File

@ -39,8 +39,7 @@ namespace ui_scripting
template <class F>
auto wrap_function(F f)
{
std::function f_ = f;
return wrap_function(f_);
return wrap_function(std::function(f));
}
template <typename F>