JString fix to compress initial assignment JSON.

This commit is contained in:
barant committed 2024-12-17 09:56:55 -08:00
1 parent 83e9b8ca99
commit 95254310f0
6 files changed
+45 -9

No files matched your search

+4 -6
View File
@@ -81,12 +81,10 @@ namespace coreutils {
return Proxy(*this, key);
}
JString & operator=(coreutils:: ZString value) {
setSize(value.getLength());
memcpy(data, value.getData(), value.getLength());
length = value.getLength();
return *this;
}
JString & operator=(coreutils:: ZString value);
private:
void removeWhitespace();
};