Small change
This commit is contained in:
parent
b25119effc
commit
1a4904fc10
@ -39,8 +39,7 @@ namespace ui_scripting
|
|||||||
template <class F>
|
template <class F>
|
||||||
auto wrap_function(F f)
|
auto wrap_function(F f)
|
||||||
{
|
{
|
||||||
std::function f_ = f;
|
return wrap_function(std::function(f));
|
||||||
return wrap_function(f_);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename F>
|
template <typename F>
|
||||||
|
Loading…
Reference in New Issue
Block a user