nic_stress: keep signal-context cap by value

Fixes clang warning about binding reference to stack allocated
parameter.

Issue #3564
This commit is contained in:
Ehmry - 2019-11-28 13:53:04 +01:00 committed by Christian Helmuth
parent 091e5157aa
commit ff0436357b
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ struct Local::Construct_destruct_test
Env &_env;
Allocator &_alloc;
Signal_context_capability &_completed_sigh;
Signal_context_capability _completed_sigh;
Xml_node const &_config;
Nic::Packet_allocator _pkt_alloc { &_alloc };
bool const _config_exists { _config.has_sub_node("construct_destruct") };