Fix typos in binding-sandbox/sandbox-serial-util.h

This commit is contained in:
刘皓 2025-05-26 21:29:10 -04:00
parent d383889d4e
commit 290ce15875
No known key found for this signature in database
GPG key ID: 7901753DB465B711

View file

@ -268,8 +268,8 @@ namespace mkxp_sandbox {
if (!sandbox_deserialize(value.back(), data, max_size)) return false;
--size;
}
for (const T &item : value) {
if (!sandbox_serialize(item, data, max_size)) return false;
for (T &item : value) {
if (!sandbox_deserialize(item, data, max_size)) return false;
}
return true;
}