From 65873b8019dd5152def26b7e483879d7a38233ac Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Sun, 7 Apr 2024 20:51:41 +0800 Subject: [PATCH] fiber_scheduler: Add a default argument --- poseidon/static/fiber_scheduler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poseidon/static/fiber_scheduler.hpp b/poseidon/static/fiber_scheduler.hpp index 700b7ea2..4e685a15 100644 --- a/poseidon/static/fiber_scheduler.hpp +++ b/poseidon/static/fiber_scheduler.hpp @@ -68,7 +68,7 @@ class Fiber_Scheduler // is not zero, it specifies the maximum timeout that the current fiber // can be suspended. void - yield(const Abstract_Fiber& tfiber, shptrR futr_opt, milliseconds fail_timeout_override); + yield(const Abstract_Fiber& tfiber, shptrR futr_opt, milliseconds fail_timeout_override = 0s); }; } // namespace poseidon