Added missing EndTable() call to VerifyObject() (#4468)
authorstefan301 <32997632+stefan301@users.noreply.github.com>
Mon, 23 Oct 2017 16:15:18 +0000 (18:15 +0200)
committerWouter van Oortmerssen <aardappel@gmail.com>
Mon, 23 Oct 2017 16:15:18 +0000 (09:15 -0700)
commit6bb0a728d3d6039e26528f5a3c15309a8dfc13d2
treeedf2f8866e31f7e993ce9cc55baa2812b709aee5
parent97face1527989f59479ab61d47bb13765257bf8a
Added missing EndTable() call to VerifyObject() (#4468)

VerifyObject called VerifyTableStart() but not EndTable(). This made Verifier::VerifyComplexity() increase depth_ with each table, not with the depth of tables.

https://groups.google.com/forum/#!topic/flatbuffers/OpxtW5UFAdg
src/reflection.cpp