Bug fix, slice was being used incorrectly which caused a missing internal character when combining object contents.
This commit is contained in:
parent
2afd4cffb9
commit
e9c86ee638
|
@ -182,7 +182,7 @@ protected:
|
|||
// Add everything but the first byte of the first string in arr
|
||||
bytes += other.bytes - 1;
|
||||
const VString &front = other.jsonText.front();
|
||||
jsonText.push_back(arena, front.slice(1, front.size() - 1));
|
||||
jsonText.push_back(arena, front.slice(1, front.size()));
|
||||
jsonText.append(arena, other.jsonText.begin() + 1, other.jsonText.size() - 1);
|
||||
|
||||
// Both JsonBuilders would now want to write to the same additional VString capacity memory
|
||||
|
|
Loading…
Reference in New Issue