mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Merge "Reset minimum alignment when reusing FlatBufferBuilder" into ub-games-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
6180b5ac7a
@@ -454,6 +454,7 @@ class FlatBufferBuilder FLATBUFFERS_FINAL_CLASS {
|
||||
buf_.clear();
|
||||
offsetbuf_.clear();
|
||||
vtables_.clear();
|
||||
minalign_ = 1;
|
||||
}
|
||||
|
||||
// The current size of the serialized buffer, counting from the end.
|
||||
|
||||
Reference in New Issue
Block a user