fix deleter inline
Some checks failed
linux-arm-gcc / linux-gcc-armhf (push) Successful in 1m59s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m6s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m11s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 2m19s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 5m45s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Has been cancelled
Some checks failed
linux-arm-gcc / linux-gcc-armhf (push) Successful in 1m59s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m6s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m11s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 2m19s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 5m45s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Has been cancelled
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