Updated write from ZString to not pass by reference.
This commit is contained in:
parent
d5bdfe8ca3
commit
4945bbfc91
@ -232,7 +232,7 @@ namespace coreutils {
|
||||
return *this;
|
||||
}
|
||||
|
||||
MString &MString::write(ZString &value) {
|
||||
MString &MString::write(ZString value) {
|
||||
int len = length;
|
||||
setSize(length + value.getLength());
|
||||
memcpy(data + len, value.getData(), value.getLength());
|
||||
|
Loading…
x
Reference in New Issue
Block a user