Skip to content

Commit

Permalink
fiber_scheduler: Add a default argument
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Apr 7, 2024
1 parent 617a82f commit 65873b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poseidon/static/fiber_scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Abstract_Future> futr_opt, milliseconds fail_timeout_override);
yield(const Abstract_Fiber& tfiber, shptrR<Abstract_Future> futr_opt, milliseconds fail_timeout_override = 0s);
};

} // namespace poseidon
Expand Down

0 comments on commit 65873b8

Please sign in to comment.