JString fix to compress initial assignment JSON.
This commit is contained in:
1 parent
83e9b8ca99
commit
95254310f0
6 files changed
+45
-9
No files matched your search
@@ -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();
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user