Updated write from ZString to not pass by reference.

This commit is contained in:
Brad Arant committed 2024-07-11 14:02:28 -07:00
1 parent d5bdfe8ca3
commit 4945bbfc91
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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());