Fixed write to not use reference.

This commit is contained in:
brad Arant 2024-07-18 18:22:14 -07:00
parent 81829f15f5
commit b41e95250d
2 changed files with 2 additions and 2 deletions

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());

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.