Skip to content

Commit

Permalink
disable warning related to unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
olk committed Nov 30, 2022
1 parent 3e17706 commit 2cb72f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ class main_context final : public context {
class dispatcher_context final : public context {
private:
boost::context::fiber
run_( boost::context::fiber && c) {
#if (defined(BOOST_USE_UCONTEXT)||defined(BOOST_USE_WINFIB))
run_( boost::context::fiber && c) {
std::move( c).resume();
#else
run_( boost::context::fiber &&) {
#endif
// execute scheduler::dispatch()
return get_scheduler()->dispatch();
Expand Down

0 comments on commit 2cb72f5

Please sign in to comment.