2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-01-19 16:22:11 +00:00

disable warning related to unused parameter

- #302
This commit is contained in:
Oliver Kowalke
2022-11-30 08:16:19 +01:00
parent 3e1770607c
commit 2cb72f5dce

View File

@@ -30,9 +30,11 @@ public:
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();