Suppress "inherited via dominance" warning
This commit is contained in:
parent
6e31ffd963
commit
8fa21821ae
1 changed files with 5 additions and 1 deletions
|
|
@ -72,6 +72,8 @@ namespace fc {
|
||||||
_promise_impl = static_cast<promise<R>*>(this);
|
_promise_impl = static_cast<promise<R>*>(this);
|
||||||
_run_functor = &detail::functor_run<FunctorType>::run;
|
_run_functor = &detail::functor_run<FunctorType>::run;
|
||||||
}
|
}
|
||||||
|
virtual void cancel() override { task_base::cancel(); }
|
||||||
|
|
||||||
aligned<FunctorSize> _functor;
|
aligned<FunctorSize> _functor;
|
||||||
private:
|
private:
|
||||||
~task(){}
|
~task(){}
|
||||||
|
|
@ -90,6 +92,8 @@ namespace fc {
|
||||||
_promise_impl = static_cast<promise<void>*>(this);
|
_promise_impl = static_cast<promise<void>*>(this);
|
||||||
_run_functor = &detail::void_functor_run<FunctorType>::run;
|
_run_functor = &detail::void_functor_run<FunctorType>::run;
|
||||||
}
|
}
|
||||||
|
virtual void cancel() override { task_base::cancel(); }
|
||||||
|
|
||||||
aligned<FunctorSize> _functor;
|
aligned<FunctorSize> _functor;
|
||||||
private:
|
private:
|
||||||
~task(){}
|
~task(){}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue