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);
|
||||
_run_functor = &detail::functor_run<FunctorType>::run;
|
||||
}
|
||||
virtual void cancel() override { task_base::cancel(); }
|
||||
|
||||
aligned<FunctorSize> _functor;
|
||||
private:
|
||||
~task(){}
|
||||
|
|
@ -90,7 +92,9 @@ namespace fc {
|
|||
_promise_impl = static_cast<promise<void>*>(this);
|
||||
_run_functor = &detail::void_functor_run<FunctorType>::run;
|
||||
}
|
||||
aligned<FunctorSize> _functor;
|
||||
virtual void cancel() override { task_base::cancel(); }
|
||||
|
||||
aligned<FunctorSize> _functor;
|
||||
private:
|
||||
~task(){}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue