Remove superflous inline specifiers.

This commit is contained in:
levlam 2022-07-27 11:41:16 +03:00
parent 9c6f457715
commit 6283dce8b7

View File

@ -171,7 +171,7 @@ inline void Scheduler::send_to_scheduler(int32 sched_id, const ActorId<Actor> &a
}
template <class T>
inline void Scheduler::destroy_on_scheduler(int32 sched_id, T &value) {
void Scheduler::destroy_on_scheduler(int32 sched_id, T &value) {
if (!value.empty()) {
destroy_on_scheduler_impl(sched_id, PromiseCreator::lambda([value = std::move(value)](Unit) {
// destroy value
@ -180,7 +180,7 @@ inline void Scheduler::destroy_on_scheduler(int32 sched_id, T &value) {
}
template <class... ArgsT>
inline void Scheduler::destroy_on_scheduler(int32 sched_id, ArgsT &...values) {
void Scheduler::destroy_on_scheduler(int32 sched_id, ArgsT &...values) {
destroy_on_scheduler_impl(sched_id, PromiseCreator::lambda([values = std::make_tuple(std::move(values)...)](Unit) {
// destroy values
}));