mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-19 08:36:49 +00:00
base: make Xml_node publicly noncopyable
This patch limits the Xml_node's copy constructor for internal use only. Fixes #5411
This commit is contained in:
parent
5a9016b010
commit
3cd5a69b65
@ -205,6 +205,19 @@ class Genode::Xml_node
|
||||
{
|
||||
private:
|
||||
|
||||
Xml_node(Xml_node const &other)
|
||||
:
|
||||
_addr(other._addr), _max_len(other._max_len), _tags(other._tags)
|
||||
{ }
|
||||
|
||||
Xml_node &operator = (Xml_node const &other)
|
||||
{
|
||||
_addr = other._addr;
|
||||
_max_len = other._max_len;
|
||||
_tags = other._tags;
|
||||
return *this;
|
||||
}
|
||||
|
||||
using Token = Xml_attribute::Token;
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user