fix deleter inline
This commit is contained in:
parent
b500dbfcc5
commit
11c5cd64fe
@ -54,7 +54,7 @@ private:
|
||||
scoped_refptr<PendingTaskSafetyFlag> flag_;
|
||||
};
|
||||
|
||||
template<typename F, typename... Args, typename = EnableIfT<std::is_void<InvokeResultT<F, Args...>>::value>>
|
||||
template<typename F, typename... Args>
|
||||
std::function<void(Args &&...)>
|
||||
SafeTask(scoped_refptr<PendingTaskSafetyFlag> flag, F &&f)
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ class Timer;
|
||||
struct TimerThreadDeleter {
|
||||
TimerThreadDeleter() = default;
|
||||
TimerThreadDeleter(TaskQueueBase *owner);
|
||||
inline void operator()(Timer *timer);
|
||||
void operator()(Timer *timer);
|
||||
|
||||
private:
|
||||
TaskQueueBase *owner_ = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user