mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
parent
9c31e18a4f
commit
cffa4fddec
@ -794,7 +794,7 @@ class Genode::Xml_node
|
||||
* Execute functor 'fn' for each sub node of specified type
|
||||
*/
|
||||
template <typename FN>
|
||||
void for_each_sub_node(char const *type, FN const &fn)
|
||||
void for_each_sub_node(char const *type, FN const &fn) const
|
||||
{
|
||||
if (_num_sub_nodes == 0)
|
||||
return;
|
||||
@ -814,7 +814,7 @@ class Genode::Xml_node
|
||||
* Execute functor 'fn' for each sub node
|
||||
*/
|
||||
template <typename FN>
|
||||
void for_each_sub_node(FN const &fn)
|
||||
void for_each_sub_node(FN const &fn) const
|
||||
{
|
||||
for_each_sub_node(nullptr, fn);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user