mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
clang: use template keyword on template methods
avoids tons of warnings Issue #3022
This commit is contained in:
parent
886619f63e
commit
f53a56982c
@ -65,12 +65,12 @@ class Genode::Id_space : public Noncopyable
|
||||
void _for_each(FUNC const &fn) const
|
||||
{
|
||||
if (Avl_node<Element>::child(Avl_node_base::LEFT))
|
||||
Avl_node<Element>::child(Avl_node_base::LEFT)->_for_each<ARG>(fn);
|
||||
Avl_node<Element>::child(Avl_node_base::LEFT)->template _for_each<ARG>(fn);
|
||||
|
||||
fn(static_cast<ARG &>(_obj));
|
||||
|
||||
if (Avl_node<Element>::child(Avl_node_base::RIGHT))
|
||||
Avl_node<Element>::child(Avl_node_base::RIGHT)->_for_each<ARG>(fn);
|
||||
Avl_node<Element>::child(Avl_node_base::RIGHT)->template _for_each<ARG>(fn);
|
||||
}
|
||||
|
||||
public:
|
||||
|
@ -189,13 +189,13 @@ class Genode::Rpc_client : public RPC_INTERFACE
|
||||
template <typename IF, typename... ARGS>
|
||||
typename IF::Ret_type call(ARGS &&...args)
|
||||
{
|
||||
return _cap.call<IF>(args...);
|
||||
return _cap.template call<IF>(args...);
|
||||
}
|
||||
|
||||
template <typename IF, typename... ARGS>
|
||||
typename IF::Ret_type call(ARGS &&...args) const
|
||||
{
|
||||
return _cap.call<IF>(args...);
|
||||
return _cap.template call<IF>(args...);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user