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

This commit is contained in:
Wouter van Oortmerssen
2015-02-09 17:16:37 +00:00
committed by Android (Google) Code Review

View File

@@ -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.