base: use reference for ascii_to output argument

Issue #1477
This commit is contained in:
Norman Feske
2015-04-10 17:45:35 +02:00
committed by Christian Helmuth
parent d884cf1a9a
commit d9d65aa86b
22 changed files with 86 additions and 51 deletions

View File

@ -161,7 +161,7 @@ class Genode::Xml_attribute
* the length, we have to consider both the starting
* and the trailing quote character.
*/
return ascii_to(_value.start() + 1, out) == _value.len() - 2;
return ascii_to(_value.start() + 1, *out) == _value.len() - 2;
}
/**
@ -557,7 +557,7 @@ class Genode::Xml_node
*/
template <typename T>
bool value(T *out) const {
return ascii_to(content_addr(), out) == content_size(); }
return ascii_to(content_addr(), *out) == content_size(); }
/**
* Return begin of node including the start tag