Update src/core/compact_object.cc

Signed-off-by: Kostas Kyrimis  <kostaskyrim@gmail.com>
This commit is contained in:
Kostas Kyrimis 2025-05-07 21:20:17 +03:00 committed by GitHub
parent bfad52e54b
commit 8379ad43cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1012,7 +1012,7 @@ string_view CompactObj::GetSlice(string* scratch) const {
CHECK(!IsExternal());
if (mask_bits_.encoding) {
GetString(&scratch);
GetString(scratch);
return *scratch;
}