mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
os: Disambiguate friend Avl_node.
It seems clang does not take "using namespace Genode" statement in Driver namespace into account when parsing those friend Avl_node lines. Issue #4421
This commit is contained in:
parent
5e93a5806b
commit
f1f3b423ec
@ -36,8 +36,8 @@ class Driver::Clock : Clocks::Element, Interface
|
||||
|
||||
/* friendships needed to make 'Clocks::Element' private */
|
||||
friend class Clocks::Element;
|
||||
friend class Avl_node<Clock>;
|
||||
friend class Avl_tree<Clock>;
|
||||
friend class Genode::Avl_node<Clock>;
|
||||
friend class Genode::Avl_tree<Clock>;
|
||||
|
||||
Switch<Clock> _switch { *this, &Clock::_enable, &Clock::_disable };
|
||||
|
||||
|
@ -33,8 +33,8 @@ class Driver::Power : Powers::Element, Interface
|
||||
|
||||
/* friendships needed to make 'Powers::Element' private */
|
||||
friend class Powers::Element;
|
||||
friend class Avl_node<Power>;
|
||||
friend class Avl_tree<Power>;
|
||||
friend class Genode::Avl_node<Power>;
|
||||
friend class Genode::Avl_tree<Power>;
|
||||
|
||||
Switch<Power> _switch { *this, &Power::_on, &Power::_off };
|
||||
|
||||
|
@ -33,8 +33,8 @@ class Driver::Reset : Resets::Element, Interface
|
||||
|
||||
/* friendships needed to make 'Resets::Element' private */
|
||||
friend class Resets::Element;
|
||||
friend class Avl_node<Reset>;
|
||||
friend class Avl_tree<Reset>;
|
||||
friend class Genode::Avl_node<Reset>;
|
||||
friend class Genode::Avl_tree<Reset>;
|
||||
|
||||
Switch<Reset> _switch { *this, &Reset::_deassert, &Reset::_assert };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user