hw: suppress deprecated warning in signal.cc

The code will be revisited in the release cycle for version 17.05. As
there is nothing a user can do to fix the warning, let's remove it.
This commit is contained in:
Norman Feske 2017-02-24 14:58:40 +01:00 committed by Christian Helmuth
parent 56cafb3b57
commit 128faadc31
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ Signal_receiver::Signal_receiver()
void Signal_receiver::_platform_destructor()
{
/* release server resources of receiver */
env()->pd_session()->free_signal_source(_cap);
env_deprecated()->pd_session()->free_signal_source(_cap);
}
@ -101,7 +101,7 @@ Signal_context_capability Signal_receiver::manage(Signal_context * const c)
retry<Pd_session::Out_of_metadata>(
[&] () {
/* use signal context as imprint */
c->_cap = env()->pd_session()->alloc_context(_cap, (unsigned long)c);
c->_cap = env_deprecated()->pd_session()->alloc_context(_cap, (unsigned long)c);
c->_receiver = this;
_contexts.insert(&c->_receiver_le);
return c->_cap;