mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-23 04:25:21 +00:00
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:
parent
091e5157aa
commit
ff0436357b
@ -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") };
|
||||
|
Loading…
x
Reference in New Issue
Block a user