diff --git a/src/sled/task_queue/pending_task_safety_flag.h b/src/sled/task_queue/pending_task_safety_flag.h index ba2815f..c05abe5 100644 --- a/src/sled/task_queue/pending_task_safety_flag.h +++ b/src/sled/task_queue/pending_task_safety_flag.h @@ -54,7 +54,7 @@ private: scoped_refptr flag_; }; -template>::value>> +template std::function SafeTask(scoped_refptr flag, F &&f) { diff --git a/src/sled/timer/timer.h b/src/sled/timer/timer.h index 61eddc1..34d97b6 100644 --- a/src/sled/timer/timer.h +++ b/src/sled/timer/timer.h @@ -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;