diff --git a/include/motis/scheduler/scheduler_algo.h b/include/motis/scheduler/scheduler_algo.h index 32ccf3431..089d7ef9d 100644 --- a/include/motis/scheduler/scheduler_algo.h +++ b/include/motis/scheduler/scheduler_algo.h @@ -15,6 +15,7 @@ namespace motis { struct fiber_props : public boost::fibers::fiber_properties { fiber_props(boost::fibers::context*); + ~fiber_props() override; // In order to keep request latency low, finishing already started requests // has to be prioritized over new requests. Otherwise, the server only starts diff --git a/src/scheduler/scheduler_algo.cc b/src/scheduler/scheduler_algo.cc index c71e463a2..2e5b1b464 100644 --- a/src/scheduler/scheduler_algo.cc +++ b/src/scheduler/scheduler_algo.cc @@ -12,6 +12,7 @@ namespace bf = boost::fibers; namespace motis { fiber_props::fiber_props(bf::context* ctx) : fiber_properties{ctx} {} +fiber_props::~fiber_props() = default; std::atomic work_stealing::counter_{0}; std::vector > work_stealing::schedulers_{};