From 128faadc3109819a48a2f174114efdaa9f441437 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Fri, 24 Feb 2017 14:58:40 +0100 Subject: [PATCH] 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. --- repos/base-hw/src/lib/base/signal.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repos/base-hw/src/lib/base/signal.cc b/repos/base-hw/src/lib/base/signal.cc index f90ad678e3..a03ac7ecc2 100644 --- a/repos/base-hw/src/lib/base/signal.cc +++ b/repos/base-hw/src/lib/base/signal.cc @@ -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( [&] () { /* 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;