Fixed write to not use reference.

This commit is contained in:
brad Arant committed 2024-07-18 18:22:14 -07:00
1 parent 81829f15f5
commit b41e95250d
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());
+1 -1
View File
@@ -212,7 +212,7 @@ namespace coreutils {
///
///
MString &write(ZString &value);
MString &write(ZString value);
///
/// Read data from a socket and store in MString.