Commit 6180b5ac authored by Wouter van Oortmerssen's avatar Wouter van Oortmerssen Committed by Android (Google) Code Review

Merge "Reset minimum alignment when reusing FlatBufferBuilder" into ub-games-master

parents 42bfe240 85f64786
...@@ -454,6 +454,7 @@ class FlatBufferBuilder FLATBUFFERS_FINAL_CLASS { ...@@ -454,6 +454,7 @@ class FlatBufferBuilder FLATBUFFERS_FINAL_CLASS {
buf_.clear(); buf_.clear();
offsetbuf_.clear(); offsetbuf_.clear();
vtables_.clear(); vtables_.clear();
minalign_ = 1;
} }
// The current size of the serialized buffer, counting from the end. // The current size of the serialized buffer, counting from the end.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment