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

This commit is contained in:
tqcq 2024-05-01 09:26:16 +00:00
parent b500dbfcc5
commit 11c5cd64fe
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{

View File

@ -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;