Added missing generated code.

Change-Id: I9420bf01d2bdb6ccfe3703c835297be73457c0d7
This commit is contained in:
Wouter van Oortmerssen 2018-01-18 11:20:58 -08:00
parent e162366b3f
commit 4bddc6cc0c
1 changed files with 1 additions and 2 deletions

View File

@ -756,8 +756,7 @@ struct Monster FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
return GetPointer<flatbuffers::Vector<uint8_t> *>(VT_TESTNESTEDFLATBUFFER);
}
const MyGame::Example::Monster *testnestedflatbuffer_nested_root() const {
auto data = testnestedflatbuffer()->Data();
return flatbuffers::GetRoot<MyGame::Example::Monster>(data);
return flatbuffers::GetRoot<MyGame::Example::Monster>(testnestedflatbuffer()->Data());
}
const Stat *testempty() const {
return GetPointer<const Stat *>(VT_TESTEMPTY);