mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01: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:
committed by
Christian Helmuth
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") };
|
||||
|
||||
Reference in New Issue
Block a user