mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-26 21:00:50 -04:00
Update MiniFunction.hpp
This commit is contained in:
parent
50eecc2c0b
commit
018a42a258
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ namespace geode::utils {
|
|||
}
|
||||
|
||||
template <class Callable>
|
||||
requires(MiniFunctionCallable<Callable, Ret, Args...> && !std::is_same_v<Callable, MiniFunction<FunctionType>>)
|
||||
requires(MiniFunctionCallable<Callable, Ret, Args...> && !std::is_same_v<std::decay_t<Callable>, MiniFunction<FunctionType>>)
|
||||
MiniFunction(Callable&& func) :
|
||||
m_state(new MiniFunctionState<std::decay_t<Callable>, Ret, Args...>(std::forward<Callable>(func))) {}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue